[AIX HP-UX Linux Solaris Windows][z/OS]

Packaging EJB 3.0 modules in a batch application using Rational Application Developer 7.5

Use Rational® Application Developer (RAD) 7.5 to package Enterprise JavaBeans (EJB) 3.0 modules.

Before you begin

Develop a batch application. See Developing a simple transactional batch application.

Procedure

  1. Import your batch application EAR file into RAD. Click File > Import.
    1. Select Java EE - EAR file. Click Next.
    2. Enter the location of your EAR file in the EAR file field.
    3. Set the Target run time to either a WebSphere® Application Server V7.0 or WebSphere Application Server V6.1 plus EJB 3.0 Feature pack run time.
    4. Clear everything on the EAR Module and Utility JAR Projects page (third page).
    5. Click Finish.
  2. Link in your EJB 3.0 JAR file.
    1. Right-click on the newly created EAR project.
    2. Select Properties > Java EE Module Dependencies.
    3. Click Add External JARs....
    4. Select your EJB3 JAR file.
    5. Click OK.
  3. Export your EAR file.
    1. Right-click on the EAR project.
    2. Click Export > EAR file.
    3. Enter a value in the Destination field.
    4. Click Finish.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jan 14, 2013 5:55:59 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700compg&product=was-nd-mp&topic=tgrid_cgradejb
File name: tgrid_cgradejb.html