Administer the internationalization service
To use internationalization context in an EJB application, the internationalization service must be enabled in the runtime environments for all server-side components (servlets and enterprise beans, including session beans enabled for Web service usage) as well as all client-side components (EJB client applications and Web service clients).
If we do not require the internationalization service, do not enable it. Leaving the service disabled prevents any possible performance degradation incurred by the implicit distribution of internationalization resources.
The internationalization service cannot be enabled for HTTP clients, because support for internationalization in that case is provided by the browser, not by the application server.
- Enable or disable the internationalization service for servlets and enterprise beans.
By default, the service is disabled for server-side components within the application server. You enable the service by using either the administrative console or wsadmin.sh.
- Enable or disable the internationalization service for EJB clients.
By default, the service is disabled within the client container. You enable the service using the launchClient tool.
Subtopics
- Enable the internationalization service for servlets and enterprise beans
Perform this task to enable the internationalization service in the application server runtime environment.
- Enable the internationalization service for EJB clients
By default, the internationalization service is disabled for use within EJB and Web-service enabled client applications. We must enable the service for client applications as well as for all server instances in the runtime environment.
- Internationalization service settings
Use this page to enable or disable the internationalization service. The internationalization service manages the implicit propagation and scoping of locale and time zone information, called internationalization context, within application components. When the service is enabled, application components can use the internationalization context API to programmatically manage locale and time zone information. In turn, components can use that locale and time zone information with the Java Platform, Standard Edition (JSE) Internationalization API to perform localizations. If internationalization support is not required on the server, disabling the service can improve performance.
- Internationalization service errors
Certain conditions might cause the internationalization service not to start, to issue java.lang.IllegalStateException exceptions while an application is running, or to exercise default behaviors.
Related concepts
Internationalization service