Skip navigation.

Administration Console Online Help

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index

 


EJB --> Configuration --> Compiler options

Tasks     Related Topics     Attributes

Overview

You can configure EJB compiler options in the Configuration tab of the Administration Console. The weblogic.appc and weblogic.ejbc utilities generate and compile container classes if you want to compile the .ear or .jar file for deployment into the EJB container. Although you can configure options for this utility at the command line, you may find it more convenient to configure the more commonly used options in the Administration Console.

Tasks

Configuring Compiler Options

Related Topics

WebLogic Server Deployment and Packaging Guide

webLogic.appc in Programming WebLogic Enterprise JavaBeans

Attributes

Table 84-1

Attribute Label

Description

Value Constraints

Java Compiler

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.

MBean: weblogic.management.
configuration.
EJBComponentMBean

Attribute: JavaCompiler

Default: null

Extra RMI Compiler Options

The extra options passed to the RMI compiler during server-side generation. Note: the default for this attribute must be null. If no extra RMI compiler options are specified on the EJBComponent, the default will be pulled from the server MBean.

MBean: weblogic.management.
configuration.
EJBComponentMBean

Attribute: ExtraRmicOptions

Default: null

Extra EJB Compiler Options

The extra options passed to the EJB compiler during server-side generation. Note: the default for this attribute must be null. If no
extra EJB compiler options are specified on the EJBComponent, the default will be pulled from Server.ExtraEJBCOptions.

MBean: weblogic.management.
configuration.
EJBComponentMBean

Attribute: ExtraEJBCOptions

Default: null

Keep Generated Source Files

Return true if the EJB compiler should keep its generated source files, false if it should delete them after compiling them.

MBean: weblogic.management.
configuration.
EJBComponentMBean

Attribute: KeepGenerated

Default: true

Valid values:

  • true

  • false

Force Generation

Return true if the EJB compiler should force regeneration of wrapper classes, false if it should regenerate the files only if checksum determines it is necessary.

MBean: weblogic.management.
configuration.
EJBComponentMBean

Attribute: ForceGeneration

Default: false

Valid values:

  • true

  • false

 

Skip navigation bar  Back to Top Previous Next