[Enterprise Extensions only]

Enabling Internationalization context within application servers

Any Enterprise JavaBean or Servlet can utilize Internationalization context whenever the Internationalization Service is enabled within the containing application server.

The Internationalization Service is enabled within application servers using the Custom tab. The Custom tab lists all Enterprise Services available to a particular application server and provides access to the configuration properties of each.

Perform the following steps to enable Internationalization context within an application server:

  1. View the Custom tab:
    1. Start the WebSphere Administration Client tool.
    2. Select the application server requiring the Internationalization Service.
    3. In the right-hand pane, click the Custom tab.
      • If the Custom tab does not list the Internationalization Service entry, a new entry for Internationalization Service must be added. Go to step 2.
      • If the Custom tab lists the Internationalization Service entry, then the Internationalization Service properties can be viewed and edited. Go to step 3.
  2. Add a new Internationalization Service entry to the Custom tab:
    1. From the Custom tab, click Add.
      The Add Custom Service dialog is displayed.
    2. In the Add Custom Service dialog, enter the properties as indicated in step 3.
    3. Click OK.
      The Add Custom Service dialog closes.
    4. Click Apply.
      Your changes are saved.
  3. Verify or edit the Internationalization Service properties:
    1. From the Custom tab, click Edit.
      The Edit Custom Service dialog is displayed.
    2. Click the General tab.
    3. In the Classname field, verify or type the following entry:
      com.ibm.ws.i18n.context.ServiceInit
    4. If not already selected, select the Enabled check box.
    5. Click OK.
      The Edit Custom Service dialog closes.
    6. Click Apply to save any changes.
      Your changes are saved.

These settings cause the Internationalization Service to initialize when starting or restarting the corresponding application server.