Deploying EJB modules

When you deploy an Enterprise JavaBeans (EJB) module, you install that module on a server that has been configured to support deployed modules.

Before you begin

Assemble one or more EJB modules, assemble one or more Web modules, and assemble them into a J2EE application.

Procedure

  1. Prepare the deployment environment.
  2. Update the configuration for each EJB module as needed for the deployment environment. See the information center for the Application Server Toolkit for more information about modifying deployment descriptors.
  3. Required: If a module has dependencies on Java 5-specific extensions, such as Generics, annotations, and so on, then you must run the ejbdeploy command-line tool separately and prior to installing the module or application containing it. This is because the administrative console and the wsadmin command-line tool do not allow for specifying the ejbdeploy -complianceLevel 5.0 option.
  4. Deploy the application.

What to do next

If you specify that EJB deploy be run during application installation and the installation fails with a NameNotFoundException message, ensure that the input JAR or EAR file does not contain source files. Remove the source files, or include all of the dependent classes and resource files in the class path. If there are source files in the input JAR or EAR file, the EJB deployment tools runs a rebuild before generating the deployment code.

If the module deploys successfully, test and debug the module.




In this information ...


Related concepts

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: Aug 30, 2013 4:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-dist&topic=tejbemod
File name: tejb_emod.html