The goal of this tutorial is to demonstrate how simple it is to develop J2EE applications with JBoss Eclipse IDE.
The sample application that will be built is a J2EE application with one session EJB and one Servlet, which computes the Fibonacci suite.
The tutorial is split into several parts:
- The Project: this part shows how the project is prepared (source and build path)
- The EJB: this part shows how to write an EJB class with its XDoclet javadoc tags.
- Generation of EJB files: this part shows how to configure the XDoclet generation configuration to generate all the EJB related files
- The Servlet and the Web-App: this part shows how to write a Servlet class with its XDoclet javadoc tags.
- Generation of Servlet files: this part shows how to configure the XDoclet generation configuration to generate all the Web related files
- The J2EE application: this part shows how to create the missing files.
- Packaging: this part shows how to package the J2EE application
- JBoss configuration : this part shows how to define debug configuration to launch JBoss inside Eclipse.
- Deployment : this part shows how to deploy by copy the J2EE application
- Debugging: this part shows how to set up breakpoints to debug the deployed application.