Why and when to perform this task
Use
the Application Assembly Tool to configure internationalization in the deployment
descriptors for servlets and enterprise beans.
Steps for this task
All servlets and enterprise beans have an internationalization type setting that specifies whether internationalization context is managed by the application component or by its hosting J2EE container during invocations of their respective life cycle and business methods. Internationalization type can be configured for all server application components except entity beans, which are container-managed only.
By default, all server components employ container-managed internationalization (CMI). The default setting should suffice in most cases; when it does not, modify the internationalization type setting by completing the steps described in one of the following topics:
You can associate CMI servlets, and business methods of CMI enterprise beans, with a container internationalization attribute that specifies which of three internationalization contexts - Caller, Server, or Specified - the container is to scope to an invocation. When running as specified, the container internationalization attribute also specifies the custom internationalization context elements.
Named container internationalization attributes can be associated with sets of servlets or with sets of EJB business methods. Initially, CMI servlets and business methods implicitly run as caller and do not associate with a container internationalization attribute. When the implicit behavior or an associated attribute setting is unsuitable, configure an attribute by completing the steps described in one of the following topics: