Home
Overview
Available Tasks
 AppClientExport
 EARExport
 EJBDeploy
 EJBExport
 UtilJar
 WARExport

EJBDeploy

Description

This task generates deployment code and RMIC code for an EJB Project.

Parameters

Attribute Description Required
EJBProject Name of the EJB Project (Case Sensitive) Yes
IgnoreErrors Do not halt for compilation or validation errors No, default is false
NoValidate Disable the validation steps No, default is false
Quiet Only output errors, suppress informational messages No, default is false
Use35Rules Use the WebSphere 3.5 compatible mapping rules No, default is false
CodeGen Only generate the deployment code, do not run RMIC or Javac No, default is false

Examples

<ejbDeploy EJBProject="EJBProject" />

Generates Deployment code and RMIC code for "EJBProject"; it also runs validation on the project and prints out any errors while compiling/validating the project, if there are errors the operation comes to a halt.

<ejbDeploy EJBProject="EJBProject" IgnoreErrors="true"/>

Generates Deployment code and RMIC code for "EJBProject"; it also runs validation on the project, but if there are any errors while validating/compiling they are reported and the operation continues.

<ejbDeploy EJBProject="EJBProject" NoValidate="true"/>

Generates Deployment code and RMIC code for "EJBProject"; it does not run the validation steps, but if there are any errors while compiling they are reported and the operation comes to a halt.

<ejbDeploy EJBProject="EJBProject" Use35Rules="true"/>

Generates Deployment code and RMIC code for "EJBProject"; it will use WebSphere Version 3.5 mapping rules instead of Version 4.0. It will run validation on the project, but if there are any errors while validating or compiling they are ignored and the operation continues.

<ejbDeploy EJBProject="EJBProject" NoValidate="true" Quiet="true"/>

Generates Deployment code and RMIC code for "EJBProject"; it will not run the validation on the project and it will not display any message expect for error message, in which case the operation will come to a halt.

<ejbDeploy EJBProject="EJBProject" CodeGen="true"/>

Generates Deployment code for "EJBProject"; it will still run validation on the project, but will ignore generation of the RMIC code.