Environment entries assembly properties
Use the assembly properties to change the settings for environment entries.
Environment entries define variables for use at run-time. The container makes the application environment entries available in a JNDI naming context (java:comp/env). An example environment entry is maxExceptions , describing the maximum number of tax exemptions that are allowed. The expected type of the environment entry is java.lang.Integer and its value is 15.
To view the settings for environment entries in the Application Assembly Tool, click on an application client (.jar file) in the navigation tree and then double-click on Environment Entries in the Name list.
Name
- (Required) Specifies the name of the environment entry, relative to the java:comp/env context.
Data type String
Value
- Specifies the value of the environment entry. The value must be a string that is valid for the constructor of the specified type that takes a single string parameter.
Data type String
Type
- (Required) Specifies the Java type of the environment entry value that is expected by the module's code.
Valid values for this field include classes such as java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and java.lang.Float.
Data type String Units Class names Default String
Description
- Describes the environment entries.
Data type String