| JSP Components |
| |
| Compiling the JavaBeans Component |
| |
| When compiling AccountBean.java, you must include the j2ee.jar and ejb.jar files in the classpath. The ejb.jar file is required because it contains the class files for the Account and AccountHome interfaces-- types used by the AccountBean class. When you created the enterprise bean (AccountEJB) for the AccountJSPApp application, the tool inserted the ejb.jar file into the AccountJSPApp.ear file. |
| |
| To extract the ejb.jar file from the AccountJSPApp.ear file, follow these steps: |
1. In the tree view, select the EJB .jar file for the AccountJSPApp application.
2. From the File menu, choose Save As.
3. Save the ejb.jar file in the examples/jsptobean directory. |
| |
| |
|
| |
| |