Use Rational Application Developer (RAD) 7.5 to package
Enterprise JavaBeans (EJB) 3.0 modules.
Procedure
- Import your batch application EAR file into RAD. Click File > Import.
- Select Java EE - EAR file. Click Next.
- Enter the location of your EAR file in the EAR file
field.
- Set the Target runtime to either a WebSphere Application
Server V7.0 or WebSphere Application Server V6.1 plus EJB 3.0 Feature
pack runtime.
- Deselect everything on the EAR Module and Utility JAR
Projects page (third page).
- Click Finish.
- Link in your EJB 3.0 jar file
- Right-click on the newly created EAR project.
- Select Properties > Java EE Module Dependencies.
- Click Add External JARs...
- Select your EJB3 jar file.
- Click OK.
- Export your EAR file
- Right-click on the EAR project.
- Click Export > EAR file.
- Enter a value in the Destination field.
- Click Finish.