EJB General Dialog

In the General dialog of the Enterprise Bean Wizard specify the type of enterprise bean you are creating and select the class files that will be used for the bean from the JAR file. Choose which interfaces that you will provide, depending on the type of bean. You can also enter a display name, a description and an icon for the bean.

  1. In the Bean Type panel of the General dialog box, choose the type of the bean that you are creating, either , , or by choosing the appropriate radio button menu item.
  2. If you chose a session bean in step 1, you must choose either the or setting for the enterprise bean.
  3. Select the name of the enterprise bean class from the Enterprise Bean Class menu.
  4. If you have an entity or session bean, select the name of the home interface from the Local Home Interface, or Remote Home Interface menu. You can choose to provide a local home interface or a remote home interface, or both.
  5. If you have an entity or session bean, select the name of the local interface from the Local Interface menu, or the remote interface from the Remote Interface menu, or both.
  6. You can provide a name for the enterprise bean in the Enterprise Bean Name field. This name will be displayed in the tree.
  7. You can provide a description of the enterprise bean by clicking the Description box.
  8. You can click Icons to choose the icons that GUI tools will use to represent the enterprise bean. You can select only GIF or JPEG files that are either 16x16 or 32x32 pixels.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.