You configure your EJB modules at several different levels.
Basic project settings like the EJB module's source roots and classpath are set in the module's Project Properties dialog box. You open this dialog box by right-clicking the EJB module's project node and choosing Properties.
For , you can add source roots in the Sources page of the Project Properties dialog box. You can quickly add to the compilation and test classpath by right-clicking the Libraries or Test Libraries node in the Projects window. To further configure the classpath, or to specify which items should be included in deployment, use the Libraries page of the Project Properties dialog box.
For , there are no Libraries or Test Libraries nodes. The classpath and source roots are managed completely by your project's Ant script. In the Sources and Classpath pages of the Project Properties dialog, you just configure the project to match the settings that already exist in your Ant script. This tells the IDE which classes to offer for debugging, code completion, and so forth.
There are several key steps to configuring deployment settings:
For the Sun Java System Application Server, the IDE also configures the server-specific deployment descriptor as you edit your EJB module. For all other application servers, you have to write the server-specific deployment descriptors yourself. You can edit a deployment descriptor by expanding the EJB module's Configuration Files node and double-clicking the deployment descriptor node.