[Version 5.0.2]Internationalization assembly settings for EJB modules

Use this page to specify which internationalization context the EJB container will scope to enterprise bean business method invocations.

By default, the EJB container scopes the caller's internationalization context to business method invocations of enterprise beans configured to the Container internationalization type. To override this default scoping behavior, create and configure at least one Container Internationalization attribute.

A Container Internationalization attribute associates business methods of those enterprise beans that employ container-managed internationalization to one of three internationalization contexts: the Caller context, the Server context, or the context specified in the attribute. For each method listed in the attribute, the container scopes the internationalization context that is specified in the attribute's Run as field.

Use the information below to configure new and existing Container Internationalization attributes.

Description
Describes the attribute.
Methods
Specifies the set of EJB methods to which the Run as field applies. Click the Add button, then select the methods to be specified in the attribute.
Run as
Specifies the internationalization context that the EJB container will use for scoping invocations of the business methods indicated in the Methods field.
Default Caller
Range Valid values are Caller, Server, and Specified

More information about valid values follows:

Caller

The container invokes the attribute's methods with the locales and time zone of the incoming client request. For any missing context element, the container supplies the corresponding default element of the server Java Virtual Machine (JVM). Select Caller when you want bean methods to execute under the invocation context of the client request.

Server

The container invokes the attribute's methods with the default context elements of the server JVM. Select Server when you want bean methods to execute under the invocation context of the server JVM.

Specified

The container invokes the attribute's methods with the context elements specified in the attribute's Locales and Time zone ID fields. Select Specified when you want bean methods to execute under the invocation context specified in the attribute. Be sure to complete the Locales and Time zone ID fields. You can add information about the group of specified context elements in the Description field.

Time zone
Represents a temporal offset and computes daylight savings information.
Description
A description of the specified time zone (ID).
ID
A short-hand identifier for a time zone.

Enter a valid time zone ID. A valid ID represents any time zone supported by java.util.TimeZone. Specifically, an ID can be any of the IDs that appear in the list of time zone IDs returned by method java.util.TimeZone.getAvailableIds(), or a custom ID having the form GMT[+|-]hh[[:]mm]; for example, America/Los_Angeles and GMT-08:00 are valid time zone IDs.

Locales
Specifies an ordered list of locales; a locale represents a specific geographical, cultural, or political region.
Description
Describes the specified locale.
Language code
Specifies the language spoken within a particular region.

Enter the language code of the new locale. Ideally, language code is one of the lower-case, two-character codes defined by ISO-639. Language code is not restricted to ISO codes and is not a required field; however, a valid locale must contain either a language code or a country code.

Country code
Specifies the country within a particular region.

Enter the country code of the new locale. Ideally, country code is one of the upper-case, two-character codes defined by ISO-3166. Country code is not restricted to ISO codes and is not a required field; however, a valid locale must specify either a language code or a country code.

Variant
A vendor-specific code.

Enter the variant of the new locale. Variant is not a required field and serves only to supplement the Language code and Country code fields according to application- or platform-specific requirements.


Related concepts
Container internationalization attributes
Related reference
WAS Enterprise assembly settings for session beans
WAS Enterprise assembly settings for entity beans
WAS Enterprise assembly settings for message-driven beans



Searchable topic ID:   uaat_ejbi18n
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/aat_pme/ui/uaat_ejbi18n.html

Library | Support | Terms of Use | Feedback