The ejb-jar.xml visual editor lets you edit the general for an EJB module. You open the editor by expanding the project's
Configuration Files node in the Projects window and double-clicking ejb-jar.xml.
The Enterprise Beans section of the General view contains a section for each
of your EJB module's enterprise beans.
Each enterprise bean has an Enterprise Bean Implementation and Interfaces section
where you can view and edit the bean class name and bean interface names. (Because
message-driven beans do not have interfaces, this section is just called Enterprise
Bean Implementation for message-driven beans.) You can do any of the following:
Add or remove interfaces. Select or deselect the checkbox for the
remote or local interfaces. When you add interfaces, the IDE adds the corresponding
interface, home interface, and business interface based on the name of the
bean.
Move a bean class or interface. Place the cursor in the bean class
or interface's field and click Move Class. In the dialog that appears, select
the new package from the Package combo box, then click Next. You can only
mode a bean class to another package in the same project.
This command is not a way to move an entire enterprise bean. This only
moves the selected class or interface and not the corresponding classes.
If you want to move an entire bean, select all of its classes in the Source
Packages node and choose Refactor > Move
Class.
Rename a bean class or interface. Place the cursor in the bean class
or interface's field and click Rename Class. In the dialog that appears, type
a new name for the class or interface and click Next.
Open the class or interface source file. Click Go To Source for any
class or interface.
You can also quickly navigate to an enterprise bean's classes and interfaces
by right-clicking the enterprise bean's node in the Projects window and
choosing from the Go To Source submenu.
All enterprise beans also have the following sections in the ejb-jar.xml
visual editor: