Creating an EJB-Managed Bean

Create an Enterprise JavaBean (EJB)-managed bean from an existing EJB-manaaged bean and add it to your Web application. Use an EJB-managed bean in a JavaServer Faces (JSF) Web page to invoke the session EJB instance.

Prerequisites 

You must have the EJB client classes, for example, its remote or local interface, on the project's class path and provide the JNDI name for lookup.

To create an EJB-managed bean:

  1. Select File > New > Managed Bean from the main menu bar of the Web Application Development perspective.
    Note: For other ways to access the Create a Managed Bean wizard, see Accessing a New Wizard in the Web Application Development Perspective.
  2. Follow the wizard instructions.
Related concepts
Managed Beans
Related tasks
Creating a DataWindow-Managed Bean
Creating a Java-Managed Bean
Creating a Service Managed Bean

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.