This web application presents a number of examples that demonstrate various pieces of functionality of the Orchestra library.
Note: The implementation of this example webapp is compatible with JSF 1.1 and JSP in order to show that Orchestra is usable with that combination. When using JSF1.1 with Facelets, or JSF1.2 with JSP then a number of simplifications can be made, especially in the .jsp files. In addition, the use of additional libraries has been kept to a minimum to make the example code as simple as possible. Please do not use these examples as "good practice" for anything other than the use of Orchestra itself.
Note: Some of the examples demonstrate the use of Annotations. This webapp therefore requires java 1.5 to run. However Orchestra Core only requires java 1.4.
This very simple two-page webapp demonstrates the use of the "access" lifetime, where a bean instance remains in memory as long as a view that accesses it is being displayed, and is discarded when some other view is accessed.
Demonstrates having multiple beans within the same conversation, by specifying the conversationName attribute for each bean.
This example demonstrates the use of a multi-edit page with a tree of objects (company -> persons -> addresses). On each editing- or cancel step it is possible store an actual version of the editing data or to do a fallback to a previous one.
Demonstrates the use of the Orchestra DynaForm JSF component, which automatically generates read-only or editable JSF components for the attributes of a persistent class.
Demonstrates the use of Orchestra annotation classes.
This very simple webapp demonstrates how to define a common sequence of pages as a "flow", and how to then call that flow from multiple places passing parameters and accepting return values from the called flow.