Enterprise JavaBeans (EJB) client applications, servlets, and enterprise beans can programmatically obtain and manage internationalization context using the internationalization context API. For Web service client applications, you use the API to obtain and manage internationalization context in the same manner as for EJB clients.
The java.util and com.ibm.websphere.i18n.context packages contain all of the classes necessary to use the internationalization service within an EJB application.
Classes specific to the internationalization service reside in the install_root/lib/i18nctx.jar file. Before compiling application components that import internationalization service classes, add the i18nctx.jar file to your CLASSPATH setting.
The resulting components are said to use application-managed internationalization (AMI). For more information about AMI, see Internationalization context: Management policies.
Each supported application component uses the internationalization context API differently. Three code examples are provided that illustrate how to use the API within each component type. Differences in API usage, as well as other coding tips, are noted in comments that precede the relevant statement blocks.
In this information ...Subtopics
Related concepts
| IBM Redbooks, demos, education, and more(Index) |