Chapter 4. About the Example Applications
In this guide, we make use of a simple web application to illustrate the use of JSF-EJB3 components. We then illustrate how to use Seam to integrate the JSF and EJB3 components. The example applications (source code) come with this guide and you can find them located in the
JBOSS_DIST/doc/examples/gettingstarted
directory. You can also download the sample applications from
https://www.redhat.com/docs/manuals/jboss. We use two examples in this book:
-
A simple "TODO" application to create, view and edit tasks - implemented using JSF and EJB3;
-
The same application using the SEAM framework.
If you installed the documentation on your hard drive, then the first example can be found in the JBOSS_DIST/doc/examples/gettingstarted/jsfejb3
directory. We will see how to build this example using the build.xml
file present here and also how to deploy the application. We will also cover in detail the working of the .java, .xml and .properties files.