Why and when to perform this task
The internationalization service adds APIs and tooling that enable J2EE applications to manage the distribution of internationalization information, or internationalization context, necessary to perform localizations within server-side application components. This topic summarizes the steps involved in using the internationalization service.Steps for this task
You use the internationalization
context API within Web service-enabled J2EE client programs and stateless
session beans in the same manner as you would in conventional J2EE components,
with one exception: Internationalization context propagated over Web services
requests contains a time zone ID, whereas conventional RMI/IIOP requests propagate
complete time zone information, including the raw offset, DST information,
and so on.
Internationalization type specifies the internationalization policy applicable to a servlet or an enterprise bean and, in particular, indicates whether the application component or its hosting J2EE container will manage internationalization context. Container internationalization attributes can be specified for container-managed servlet and enterprise bean business methods. These attributes tailor a policy by indicating which context the container will scope to an invocation. Configuring internationalization policies declaratively prescribes, by means of the application's deployment descriptor, the distribution and management of context throughout an application.
Use the Application Assembly Tool to configure
the internationalization type and any container internationalization attributes
for the servlets and enterprise beans in your application.
You
configure internationalization type and container internationalization
attributes for Web service-enabled stateless session beans in the same manner
as you do for conventional beans.
By default, the service is enabled within J2EE client environments but is disabled on application servers. You must enable the service on all application servers hosting your application's servlets and enterprise beans in order to use internationalization context.
This
also applies to J2EE Web service client environments and Web service-enabled
enterprise beans.