Enough Theory

Still with us? Good. We did warn you that this chapter might be slightly difficult to digest. But it is important to learn how to drive before you get into a car. You can learn by just driving off, but how many other cars will you run into on the way? It is the same with Cocoon. In our experience, any programmer who tries to write a Cocoon component without grasping the basic concepts first will learn the hard way. In addition, it is important to remember that Cocoon does a lot of the work for you.

This chapter laid out the basics of developing your own Java components to use with Cocoon. We explored the Cocoon architecture top-down, introducing the most common objects. Nearly all objects inside Cocoon adhere to the Avalon component ...

Get Cocoon: Building XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.