Provide options to perform the EJB Deploy settings

Use this page to specify options for the enterprise bean (EJB) deployment tool. The tool generates code needed to run enterprise bean files. You can specify extra class paths, Remote Method Invocation compiler (RMIC) options, database types, and database schema names to be used while running the EJB deployment tool.

This administrative console page is a step in the application installation and update wizards. To view this page, you must select Deploy enterprise beans on the Select installation options panel. Thus, to view this page, click Applications > New Application > New Enterprise Application > application_path > Next > Detailed - Show all installation options and parameters > Next > Deploy enterprise beans > Next > Step: Provide options to perform the EJB Deploy.

You can specify the EJB deployment tool options on this page when installing or updating an application that contains EJB modules. The EJB deployment tool runs during installation of EJB 1.x or 2.x modules. The EJB deployment tool does not run during installation of EJB 3.0 modules.

The options that you specify set parameter values for the ejbdeploy command. The tool, and thus the ejbdeploy command, is run on the enterprise archive (EAR) file during installation after you click Finish on the Summary page of the wizard.

Class path

Specifies the class path of one or more zipped or Java™ archive (JAR) files on which the JAR or EAR file being installed depends.

To specify the class paths of multiple entries, the file names must be fully qualified, separated by a path separator that the target server uses, and enclosed in double quotation marks.

[Windows] On Windows operating systems, the path separator is a semicolon (;). For example:

path\myJar1.jar;path\myJar2.jar;path\myJar3.jar

[AIX] [HP-UX] [Linux] [Solaris] [z/OS] On the other supported operating systems, the path separator is a colon (:). For example:

path/myJar1.jar:path/myJar2.jar:path/myJar3.jar

Class path is the same as the ejbdeploy command parameter -cp class_path.

Data type String
Default null

RMIC

Specifies whether the EJB deployment tool passes RMIC options to the Remote Method Invocation compiler. Refer to RMI Tools documentation for information on the options.

Separate options by a space and enclose them in double quotation marks. For example:

"-nowarn -verbose"

The RMIC setting is the same as the ejbdeploy command parameter -rmic "options".

Data type String
Default null

Database type

Specifies the name of the database vendor, which is used to determine database column types, mapping information, Table.sql, and other information. Select a database type or the empty choice from the drop-down list. The list contains the names of valid database vendors. Selecting the empty choice sets the database type to "" (null).

If you specify a database type, previously defined backend IDs for all of the EJB modules are overwritten by the chosen database type. To enable backend IDs for individual EJB modules, select the empty choice to set the database type to null.

Deprecated feature: The backend IDs SQL92 (1992 SQL Standard) and SQL99 (1999 SQL Standard) are deprecated. Although the SQL92 and SQL99 backend IDs are available in the list on the Provide options to perform the EJB Deploy page, they are deprecated.depfeat

Database type is the same as the ejbdeploy command parameter -dbvendor name.

Data type String
Default DB2UDB_V82

Database schema

Specifies the name of the schema that you want to create.

The EJB deployment tool saves database information in the schema document in the JAR or EAR file, which means that the options do not need to be specified again. It also means that when a JAR or EAR is generated, the correct database must be defined at that point because it cannot be changed later.

If the name of the schema contains any spaces, the entire name must be enclosed in double quotes. For example:

"my schema"

Database schema is the same as the ejbdeploy command parameter -dbschema "name".

Data type String
Default null

Database access type

Specifies the database access type for a DB2® database that supports Structured Query Language for Java (SQLJ). Use SQLJ to develop data access applications that connect to DB2 databases. SQLJ is a set of programming extensions that support use of the Java programming language to embed statements that provide SQL (Structured Query Language) database requests.

To view this setting, you must select a DB2 backend database that supports SQLJ from the Database type drop-down list.

Available database access types include JDBC and SQLJ.

Data type String
Default JDBC

SQLJ class path

Specifies the class path of the DB2 SQLJ tool sqlj.zip file. The product uses this class path to run the DB2 SQLJ tool during application installation and generate SQLJ profiles (.ser files).

To view this setting, you must select a DB2 backend database that supports SQLJ from the Database type drop-down list.

Specify the drive and directory where the sqlj.zip file resides. For example:

[Windows] On Windows® operating systems, specify c:\SQLJ\sqlj.zip.

[AIX] [HP-UX] [Linux] [Solaris] [z/OS] On all other operating systems, specify /SQLJ/sqlj.zip.

When you reinstall an application EAR file, the product deletes any existing SQLJ profiles and creates new profiles.

If you do not specify a class path, the product displays a warning about the missing class path. After you specify a valid class path, you can continue using the wizard for the application installation.

You can customize or add bindings to the generated SQLJ profile after the product installs the application. Use the administrative console SQLJ profiles and pureQuery bind files page accessed by clicking Applications > Application Types > WebSphere enterprise applications > application_name > SQLJ profiles and pureQuery bind files .

Data type String
Default null

JDK compliance level

Specifies the Java developer kit compiler compliance level as 1.4, 5.0, or 6.0 when you include application source files for compilation.

The default is to use whatever developer kit version the ejbdeploy command is using. If your application is using new functionality defined in Version 5.0 or 6.0 or you are including source files (which is not recommended), then you must specify the Version 5.0 or 6.0 level.

JDK compliance level is the same as the ejbdeploy command parameter -complianceLevel "1.4" | "5.0" | "6.0".

Data type String
Default null (empty string)



Related concepts
Enterprise (Java EE) applications
Related tasks
Installing enterprise application files with the console
Related reference
Enterprise application settings
Reference topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 7:37:48 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=urun_rapp_ejbdeploy
File name: urun_rapp_ejbdeploy.html