Application clients, EJB components, and Web applications allow you to define environment properties, which contain global read-only data used by the application code. For example, you might define the administrator’s e-mail address as an environment property.
Environment properties have the form:
env-entry1, env-entry2, ...
Where env-entry1, env-entry2, and so forth are of the form:
(description=desc,env-entry-value=value, env-entry-type=type,env-entry-name=jndi-name)
Where:
desc is an optional comment describing how the entry is to be set.
value is the initial value of the property, specified in a format that is valid for the selected datatype.
type is the Java datatype of the entry, which is one of:
java.lang.String
java.lang.Boolean
java.lang.Integer
java.lang.Double
java.lang.Byte
java.lang.Short
java.lang.Long
java.lang.Float
jndi-name is entry’s JNDI name, relative to the java:comp/env prefix.
com.sybase.jaguar.applicationclient.env-entry, com.sybase.jaguar.component.env-entry, com.sybase.jaguar.webapplication.env-entry
Copyright © 2005. Sybase Inc. All rights reserved. |