Use this page to select the enterprise bean type: session bean or message-driven bean. You must install and enable XDoclet before creating a session or message-driven bean. Follow these steps: 1 - First, download and install XDoclet from http://xdoclet.sourceforge.net/xdoclet/install.html 2 - Next, click the preferences link to configure the XDoclet Runtime Preferences. Another way to get to the XDoclet Runtime Preferences page is from Window > Preferences > J2EE Annotations > XDoclet. 3 - Check the Enable XDoclet Builder check box. 4 - Select the Version of XDoclet that you have installed. 5 - Use the Browse button to locate the installation directory for XDoclet (XDoclet Home). 6 - Click OK to save the preferences. After installing and configuring XDoclet, select the bean type you want to create and click Next. Enter the Project, Module Name, and workspace Folder for the new enterprise bean. Enter the Java package and Class name for the new enterprise bean. Change the Superclass if your class will override a class other than java.lang.Object. Select the Generate an annotated bean class check box to add J2EE annotations to the source file. Specify the EJB, JNDI and Display names for the enterprise bean. The EJB name is the name of the enterprise bean class. The JNDI name is a logical name used by the server to locate an enterprise bean at runtime. The Display name is a short name for the enterprise bean that is used by tools. Optionally, provide a text Description of the enterprise bean class. Select the State Type (stateless or stateful) if you are creating a session bean. A stateful session bean maintains client-specific session information, or conversational state, across multiple method calls and transactions. A stateless session bean does not maintain conversational state. Select the Transaction Type (container or bean) for the enterprise bean. This specifies whether the container or the bean will handle transaction demarcation. Select the type of Modifiers for the bean class. Select the Interfaces that your bean class will implement. Use the Add and Remove buttons to create the list of interfaces. Select which method stubs that you want created in the bean class.