Adding a Set of Enterprise JavaBean Components to a Visual Web JSF Application

See Also

Before you work with an Enterprise JavaBean component (enterprise beans) in the IDE, add it to the Services window. An enterprise bean must be deployed on an application server before it can be imported. Enterprise beans are added through client JAR files, and these JAR files can be generated when the enterprise bean application is deployed.

To add an enterprise bean, specify location and connection information for a client JAR file containing the bean's defining classes. You can add sets of enterprise beans individually, or you can import a set of enterprise beans exported from the IDE by another developer. By default, several enterprise bean sets are installed with the IDE.

To add a set of enterprise beans:

  1. In the Services window, right-click the Enterprise JavaBeans node and choose Add Set of Session EJBs.
  2. Step through the wizard.
  3. After you add an enterprise bean, its node appears as a subnode of the Enterprise JavaBeans node.

To add a set of enterprise beans exported by another developer:

  1. In the Services window, right-click the Enterprise JavaBeans node and choose Import EJB Sets.
  2. In the Open dialog box, find the file to import and click Open.
  3. In the Import EJB Sets dialog box, select one or more enterprise bean sets to import.
  4. If necessary, change the name, host, and port numbers for each enterprise bean set and click OK.

    All selected enterprise bean sets appear in the Enterprise JavaBeans node in the Services window.

See Also
About Enterprise JavaBean Components
Adding an Enterprise JavaBean Component to a Visual Web JSF Page
Deleting an Enterprise JavaBean Component
Working With Enterprise JavaBean Components
Enterprise JavaBean Component Tasks: Quick Reference

Legal Notices