WAS Enterprise assembly settings for session beans

Use this page to configure Enterprise Application Server functions for session beans.

Task references
Task references enable developers to programmatically set the current task under which a component is executing.
Task
The task that the run-time environment will associate with execution of the current component.
Internationalization type
The Internationalization type of a session bean indicates whether the bean or the hosting EJB container will manage internationalization context on business method invocations. For session beans the Internationalization type can be configured to Application or Container, and defaults to Container. The setting applies to all business methods of a session bean.

Select whether the session bean will employ Application or Container Internationalization context management using the Internationalization type drop-down list.

Default Container
Range
Application

Under Application-managed Internationalization (AMI) session beans are responsible to manage (set) invocation context elements using the internationalization context API. The container suspends internationalization context imported from the calling process on business method invocations; to continue propagating this context on subsequent business method requests, a method must use the API to transfer caller context elements to the invocation context scoped to that method. invocation context elements not set using the API default to the respective elements of the current process when accessed using the API or when propagated on outgoing business method requests.

Specify Application-managed Internationalization for session beans having internationalization context management requirements not supported by Container-managed Internationalization.

Container

Under Container-managed Internationalization (CMI) session beans have read-only access to the internationalization context API and rely solely on the container to manage Invocation context in accordance with the Run as field of the applicable Container Internationalization attribute. On a business method invocation, the container scopes the context indicated by the Run as field to the method implementation; when the method has completed, the container removes this context from scope. If the method is not indicated within a Container Internationalization attribute, the container scopes the caller context by default. Invocation context elements unavailable to the container default to the respective elements of the server JVM when accessed using the API or when propagated on outgoing business method requests


Related concepts
Internationalization type
Related tasks
Assembling applications for application profiling
Setting internationalization type for enterprise beans
Related reference
Internationalization assembly settings for EJB modules[5.0 only][Version 5.0.1][Version 5.0.2]



Searchable topic ID:   uaat_sessiontab
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/../aat_pme/ui/uaat_sessiontab.html

Library | Support | Terms of Use | Feedback