!--a11y-->
Creating Stateful Session Beans 
This describes the wizard. Enterprise beans can also be created quickly through the context menus of the relevant projects.
An EJB Module project exists. See Creating EJB Module Projects or Creating EJB Module DC Projects.
1. Choose File ® New ® Other...
2. On the left pane of the first wizard page, choose J2EE ® EJB, and on the right pane, select EnterpriseBean.
3. Choose Next.
4. In the EJB Name field, enter a name for your new session bean.
5. In the EJB Project field, select the project to contain the session bean.
6. In the Bean Type field, select Stateful Session Bean.
7. In the Default Package field, enter a package.
If the package does not exist, you can create it now.
8. Select Generate default interfaces.
Alternatively, deselect Generate default interfaces. You will then be able to specify the interfaces to be generated or used. For example:

9. Choose Next.
10. Add superclasses if required.
11. Choose Next.
12. Add new methods if you want.
You can miss out this step and add the methods later during editing.
For each new method, select the type of method and choose Add. Enter the name and return type, and specify the parameters.
13. Choose Finish.
If you created the enterprise bean in a normal project, you can now see something like this in the J2EE Explorer view:

If you created the enterprise bean in a DC project, you will see something like this in the J2EE DC Explorer view:

You can now edit the session bean.
Creating and Editing the Enterprise Beans Methods
