InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.5: Administering enterprise beans (overview) >
6.6.5.0: Enterprise bean properties
- Create table
- Specifies whether to create a table in the data source for persistent data.
- Create table in use
- Indicates whether a table was created in the data source for persistent data.
- Current state
- Indicates the state the enterprise bean is currently in. The next time it
is started, it will try to change to its desired state setting.
- Database access
- Specifies whether the persistent data of entity beans is cached in memory across
transactions.
By default, a container loads persistent data for
entity beans at the start of each transaction. If you use cached entity beans, you are not
guaranteed the correctness of bean data due to updates made by other processes.
Use cached
entity beans only if you know that the container has exclusive access to the database used
by the entity bean (and therefore has the only copy of a bean's persistent state), or that
the bean's data is accessed read-only at all times.
- Database access in use
- Indicates whether the persistent data of entity beans is being cached in memory across
transactions.
- Data source
- Specifies the data source in which to keep persistent data.
- Data source in use
- Indicates the data source now in use.
- Deployment descriptor
- Specifies the full path name of the deployment descriptor file to use
the next time the server is started.
- Desired state
- Indicates the state the enterprise bean should have the next time
it is started.
- Find for update
- Specifies whether the container should get an exclusive lock on the enterprise
bean when the "find by primary key" method is involved. The setting will take effect
the next time the application sever hosting the enterprise bean is started.
This setting is useful for avoiding deadlock in the database. Deadlock can occur
when two transactions execute find methods, and then update methods, on the same
enterprise bean. The find method grants a shared lock on the enterprise bean, but
the update method attempts to get an exclusive lock on the enterprise bean, resulting
in deadlock.
- Find for update in use
- Indicates the current value of the Find for update property.
- JAR file
- Specifies the full path name of the JAR file to use the
next time the server is started.
- JAR file in use
- Indicates the full path name of the JAR file now being used by the
server for the enterprise bean.
- Maximum pool size
- Specifies the maximum number of pooled instances the container of the
enterprise bean can have on behalf of the bean.
- Maximum pool size in use
- Indicates the current value of the Maximum pool size property.
- Minimum pool size
- Specifies the minimum number of pooled instances the container of the
enterprise bean can have on behalf of the bean.
- Minimum pool size in use
- Indicates the current value of the Minimum pool size property.
- Name
- Specifies a name for the enterprise bean. The name must be unique
within the administrative domain.
- Password
- Specifies the password for accessing the data source.
- Start time
- Indicates the time that the enterprise bean was started or restarted.
- Class: Runtime
- Data Type:
- State
- Indicates the state the enterprise bean is currently in. The next time it
is started, it will try to change to its desired state setting.
- User ID
- Specifies the user ID for accessing the data source.
- User ID in use
- Specifies the user ID currently being used to access the data source.
|
|