Red Hat Application Server: JOnAS User Guide | ||
---|---|---|
Prev | Chapter 31. Integrating Tomcat and JOnAS (for JOnAS version < JOnAS 2.6) | Next |
A Web Application is made of several parts:
An EJBServer running the different JOnAS services and possibly the registry
A Tomcat server running servlets and JSPs
Your browser remotely accessing HTML pages, servlets, and JSPs.
The directory structure of your application should look like this:
The web.xml file describing your web application.
HTML files, images, and JSPs that will be copied to the Tomcat directory.
Servlet sources that should mimic the package hierarchy.
Bean sources that should mimic the package hierarchy.
![]() | Note |
---|---|
If your beans come from another application, you do not need the beans directory. |
Two examples using Tomcat and JOnAS are provided with the JOnAS distribution. They can be found in the example directory:
The Alarm demo
The websample example