The EJB Container

Editing SIP Container Session Manager Properties

To view the sub-elements of the SIP container session manager properties, use the following command: list server.sip-container.session-config.session-manager.*

The two sub-elements are store-properties, manager-properties.

To view the attributes of store-properties, use the following command: get server.sip-container.session-config.session-manager.store-properties.*

To view the attributes of manager-properties, use the following command: get server.sip-container.session-config.session-manager.manager-properties.*

To set the attributes of the SIP container session manager properties, use the get and set commands:

get server.sip-container.session-manager.manager-properties.reap-interval-in-seconds

set server.sip-container.session-manager.manager-properties.reap-interval-in-seconds=2

For a complete list of SIP container properties, see the TBDlink,

The Web Container

The Web Container is a J2EE container that hosts web applications. The web container extends the web server functionality by providing developers the environment to run servlets and JavaServer Pages (JSP files).

The EJB Container

Enterprise beans (EJB components) are Java programming language server components that contain business logic. The EJB container provides local and remote access to enterprise beans.

There are three types of enterprise beans: session beans, entity beans, and message-driven beans. Session beans represent transient objects and processes and typically are used by a single client. Entity beans represent persistent data, typically maintained in a database. Message-driven beans are used to pass messages asynchronously to application modules and services.

The container is responsible for creating the enterprise bean, binding the enterprise bean to the naming service so other application components can access the enterprise bean, ensuring only authorized clients have access to the enterprise bean’s methods, saving the bean’s state to persistent storage, caching the state of the bean, and activating or passivating the bean when necessary.

Chapter 8 • Web and EJB Containers

95

Page 95
Image 95
Sun Microsystems 820433510 manual Web Container, EJB Container, Editing SIP Container Session Manager Properties