Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Configuration Reference

# EJBComponent

# Description

The top level interface for all configuration information that WebLogic Server maintains for an EJB module.

# Syntax

>     <EJBComponent
>       DeploymentOrder="number"
>       ExtraEjbcOptions="String"
>       ExtraRmicOptions="String"
>       ForceGeneration=( "true" | "false" )
>       JavaCompiler="String"
>       JavaCompilerPostClassPath="String"
>       JavaCompilerPreClassPath="String"
>       KeepGenerated=( "true" | "false" )
>       Name="String"
>       Notes="String"
>       Targets="list of Target names"
>       TmpPath="String"
>       URI="String"
>       VerboseEJBDeploymentEnabled="String"
>     />

# Parent Elements

- Application

# Attributes

Table 10-1 EJBComponent attributes

Attribute | Description | Range of Values and Default
--- | --- | ---
DeploymentOrder | A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type. For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes. Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters. | Admin Console field label: Deployment Order Default: 1000 Minimum: 0 Maximum: 231-1
ExtraEjbcOptions | Returns the extra options passed to ejbc during the dynamic ejbc of a jar file. Eg: -J-mx128m Note: the default for this attribute must be null. If no ExtraEJBCOptions are specified on the EJBComponent, the default will be pulled from the Server.ExtraEJBCOptions.. | Admin Console field label: Extra EJB Compiler Options Required: no
ExtraRmicOptions | Return the extra options passed to rmic during server-side generation. Note: the default for this attribute must be null. If no ExtraRmicOptions are specified on the EJBComponent, the default will be pulled from Server.ExtraRmicOptions.. | Admin Console field label: Extra RMI Compiler Options Required: no
ForceGeneration | Return true if ejbc should force regeneration of wrapper classes, false if it should regenerate the files only if it determines it needs to do so, based on checksum. | Admin Console field label: Force Generation Default: false
JavaCompiler | Return the path to the Java compiler to use to compile EJB's (e.g. "sj" or "javac"). Note: the default for this attribute must be null. If no JavaCompiler is specified on this specific EJBComponent, the default will be pulled in the following order from - EJBContainerMBean - Server.JavaCompiler. | Admin Console field label: Java Compiler Required: no
JavaCompilerPostClassPath | Return the options to append to the Java compiler classpath for when we need to compile Java code. | Required: no
JavaCompilerPreClassPath | Return the options to prepend to the Java compiler classpath for when we need to compile Java code. | Required: no
KeepGenerated | Return true if ejbc should keep its generated source files, false if it should delete them after compiling them. | Admin Console field label: Keep Generated Source Files Default: true
Name | The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration. | Admin Console field label: Name Required: no
Notes | Optional information that you can include to describe this configuration. | Admin Console field label: Notes Required: no
Targets | The targets in the current domain on which this item can be deployed. | Admin Console field label: Targets Required: no
TmpPath | Deprecated. Return the temporary directory where generated files are stored by ejbc. Deprecated: All EJB compiler output is now stored in the EJBCompilerCache subdirectory of the server staging directory. This directory should not be described as "temporary" since removing it would cause the EJB compiler to be rerun as necessary the next time the server is restarted. | Admin Console field label: Tmp Path Required: no Default: tmp_ejb
URI | Return a URI pointing to the application component, usually on the Admin Server. | Admin Console field label: URI
VerboseEJBDeploymentEnabled | Returns true if verbose deployment of EJB's is enabled. | Required: no Default: false