In EJB development, the development tasks are divided in to three different roles:
Enterprise Bean Developer
An enterprise bean developer performs the following tasks to deliver an EJB JAR file that contains the enterprise bean:
- Writes and compiles the source code
- Specifies the deployment descriptor
- Bundles the .class files and deployment descriptor into an EJB JAR file
Web Component Developer
A Web component developer performs the following tasks to deliver a WAR file containing the Web component:
- Writes and compiles servlet source code
- Writes JSP and HTML files
- Specifies the deployment descriptor for the Web component
- Bundles the .class, .jsp, .html, and deployment descriptor files in the WAR file
J2EE Application Client Developer
An application client developer performs the following tasks to deliver a JAR file containing the J2EE application client:
- Writes and compiles the source code
- Specifies the deployment descriptor for the client
- Bundles the .class files and deployment descriptor into the JAR file