Skip to: Site menu | Main content

Tutorials Print

Maven - Using it in your Project?

Maven - Get it or Read About it...

NOTE: Use "mvn site:site" to produce a readable dependency graph for each tutorial.

java-basic View Download A very basic example that illustrates how Smooks can be used to apply a Java based transform on a message fragment.
xslt-basic View Download A very basic example that illustrates how Smooks can be used to apply an XSLT based transform on a message fragment.
xslt-groovy View Download An illustration of how Smooks can be used to combine Groovy scripting with XSLT to perform an Order message transform, simplifying the XSLT and maintaining its portability across XSLT Processors.
xslt-namespaces

View

Download

A basic example that illustrates how Smooks can be used to apply an XSLT based transformation on a message fragment that contains namespaces.

xml-to-java View Download An illustration of how Smooks can be used to extract data from an XML message, and use the data to populate an Object graph. It also shows how this Object graph is then accessible outside Smooks via the ExecutionContext.
java-to-xml View Download This example illustrates how Smooks can be used to transform a Java object graph to XML. It shows how to use a JavaSource to supply a Java object graph to Smooks for transformation.
java-to-java View Download This example illustrates how Smooks can be used to transform one Java Object Graph to another Java Object Graph, without constructing any intermediate models.
model-driven-basic View Download Basic "Model Driven Transformation" using the Smooks Javabean and Templating Cartridges. The templating is done using FreeMarker.
model-driven-basic-virtual View Download This example is exactly the same as the "model-driven-basic" example except that it uses a "Virtual Model".
csv-to-xml View Download An example of how to configure Smooks to process a non-XML stream (CSV).
edi-to-xml View Download An example of how to configure Smooks to process a non-XML stream (EDI).
edi-to-java View Download An example of how to configure Smooks to process a non-XML stream (EDI) and bind the data from that stream into Java Business Objects (Javabeans).
profiling View Download A simple example of how Smooks can be used to "profile" a set of messages, and so share transformation/analysis configurations across a message set.
css View Download This example illustrates how to use the Smooks CSS Cartridge to analyze the CSS components of a HTML document.
servlet View Download This example illustrates how to deploy Smooks in a Servlet Container and use it to perform useragent/browser specific transforms on a Servlet Response.
db-extract-transform-load View Download This example illustrates how Smooks can be used to extract data from an EDI message and load this data into a database, all without writing a single line of code (except for the "Main" class that executes Smooks).

 

 


 

 

 
SourceForge.net Logo