By Bill Brogden, Conrad D'Cruz, Mark Gaither

Because of the tireless efforts of open-source builders, Cocoon has speedy received visibility because the preeminent XML-based internet publishing framework. regrettably, its documentation continues to be an important shortcoming. if you are new to Cocoon, gaining a feeling of precisely what you are able to do with it may be tough, and truly getting all started could be even harder.
Cocoon 2 Programming: internet Publishing with XML and Java truly explains the worth of Cocoon and is helping you construct in your familiarity with XML and Java Servlets as you layout, construct, and enforce various Cocoon purposes. you will commence through studying to regulate presentation for numerous systems, either stressed and instant. Then you are going to flow directly to Cocoon's services for good judgment keep watch over and content material administration, utilizing either sitemaps and XSP to create a website dynamically generated from numerous facts resources and types.
As you will see, Cocoon additionally helps strong organizing suggestions often called layout styles, and you can grasp their use in either presentation and content material new release. those are crucial instruments for the making plans of your web site; for after it truly is carried out, you are going to command robust recommendations for website administration and optimization.
The Web's dependence on XML is turning out to be rapidly--and with it the record of businesses that experience followed Cocoon. Is Cocoon for you? Cocoon 2 Programming will consultant you thru your choice and much past, delivering all of the information you want to construct a dynamic, XML-based site--and hold getting into the long run.

Show description

Read Online or Download Cocoon 2 Programming: Web Publishing with XML and Java PDF

Best java books

Designing Web services with the J2EE™ 1.4 platform JAX-RPC, SOAP, and XML technologies

Written by way of sunlight Microsystems' Java(TM) BluePrints workforce, Designing net providers with the J2EE(TM) 1. four Platform is the authoritative consultant to the simplest practices for designing and integrating enterprise-level internet companies utilizing the Java 2 Platform, firm variation (J2EE) 1. four. This ebook presents the ideas, styles, and real-world examples architects and builders want for you to shorten the educational curve and begin development strong, scalable, and conveyable ideas.

Practical RichFaces

RichFaces four is part library for JavaServer Faces, and a sophisticated framework for simply integrating AJAX functions into enterprise applications. It allows you to speedy strengthen next-generation net purposes in line with JSF 2/Ajax. during this definitive RichFaces four ebook, rather than utilizing JBoss instruments, the writer bases all examples on Maven in order that any IDE may be used—whether it really is NetBeans, Eclipse, JBoss or maybe Spring.

Cocoon 2 Programming: Web Publishing with XML and Java

Due to the tireless efforts of open-source builders, Cocoon has speedy received visibility because the preeminent XML-based internet publishing framework. regrettably, its documentation continues to be an important shortcoming. in case you are new to Cocoon, gaining a feeling of precisely what you are able to do with it may be tough, and truly getting began should be even more durable.

Pro JSF and Ajax: Building Rich Internet Components

Seasoned JSF and Ajax indicates you ways to leverage the total strength of JavaServer Faces (JSF) and Ajax. this isn't an entry-level instructional, yet a ebook approximately development Ajax-enabled JSF parts for classy, enterprise-level wealthy web functions. This publication offers a blueprint for development customized JSF person interface elements and indicates easy methods to leverage the simplest browser applied sciences, reminiscent of Ajax, Mozilla XUL and Microsoft HTC, to carry wealthy net functions.

Additional resources for Cocoon 2 Programming: Web Publishing with XML and Java

Sample text

The stylesheet subdirectory holds all the XSL stylesheets to be used by the Transformers in the Cocoon 2 pipeline. xmap file, which is the subsitemap for this particular application. xmap file is always present in the cocoon directory. css, which could be used to style the final presentation in the browser. For this example, they are not used in the pipeline and are used as placeholders. 2 shows the contents of the css subdirectory. xml. 3 shows the contents of the documents subdirectory. xsl. 4 shows the contents of the stylesheets subdirectory.

Generally in C2, a pipeline is made up of one generator, zero or more transformers, and one serializer. 2 shows a typical Cocoon pipeline with a generator followed by a transformer and a serializer for different types of output responses. It shows the SAX events that are produced and consumed by each component in the pipeline. The generators, transformers, and serializers have been developed and donated to the C2 Project. These components are classes developed in Java, and all the basic ones come with the C2 distribution.

When the need arose for a server engine that would utilize XSL for transforming XML documents, the project was formally adopted by a vote on the jserv-dev mailing list and named the Cocoon Project under the Apache umbrella. The Cocoon 1 Architecture: Strengths and Drawbacks The Apache Avalon Project is part of the Jakarta Project and was an effort to allow developers of open-source projects to collaborate and share code easily. It created a common extensible framework and a set of pure Java components that could be extended to create new applications.

Download PDF sample

Rated 4.12 of 5 – based on 39 votes