WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Setting the internationalization type for enterprise beans

This task sets the internationalization type for an enterprise bean within an Enterprise JavaBeans (EJB) module.

Before you begin

This article assumes that you have an assembly tool such as the Application Server Toolkit (AST) or Rational Web Developer.

This article also assumes that you have started the assembly tool, configured the assembly tool for work on Java 2 Platform, Enterprise Edition (J2EE) modules, and created or imported an EJB project.

Why and when to perform this task

Container-managed internationalization (CMI) is the default type; entity beans cannot be set to application-managed internationalization (AMI). Use CMI also for stateless session beans that are enabled for Web services.

Steps for this task

  1. In the J2EE perspective, open the EJB project for which you want to set the internationalization type.
    1. Double-click EJB Projects.
    2. Double-click the name of the EJB project to see its contents.
    3. Double-click the deployment descriptor object.
    The EJB Deployment Descriptor panel is displayed.
  2. In the EJB Deployment Descriptor panel, click the Internationalization tab. Any enterprise beans that are already configured for AMI are displayed in the Internationalization type list.
  3. To set the internationalization type for any other enterprise beans to AMI, click Add following the Internationalization type list. The Internationalization Type wizard opens. Only message-driven or session beans can be selected.
  4. Select the beans that you want to set and click Finish to exit the wizard.
  5. From the menu bar, click File > Save.

Result

The internationalization type is assigned to the bean.

What to do next

For beans that use container-managed internationalization, you can then set container-managed internationalization attributes. For more information, see "Configuring container internationalization for enterprise beans."



Related concepts
Internationalization type

Related tasks
Configuring container internationalization for enterprise beans

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/i18n/tasks/tin_settypeejb.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)