Use Rational® Application
Developer 8.0.1 or later to package Enterprise JavaBeans (EJB) 3.0 and later modules.
Before you begin
Develop a batch application.
Procedure
- Import your batch application EAR file into Rational Application
Developer. Click .
- Select Java EE - EAR file. Click Next.
- Enter the location of your EAR file in the EAR file
field.
- Set the Target run time to a WebSphere® Application Server Version 8.5 run
time.
- Clear everything on the EAR Module and Utility
JAR Projects page (third page).
- Click Finish.
- Link in your EJB 3.0 or later JAR file.
- Right-click on the newly created EAR project.
- Select
- Click Add External JARs....
- Select your EJB JAR file, such as an EJB3 JAR.
- Click OK.
- Export your EAR file.
- Right-click on the EAR project.
- Click .
- Enter a value in the Destination field.
- Click Finish.