Web hosting service - Editing deployment descriptors What an EJB JAR contains

Editing deployment descriptors What an EJB JAR contains The resulting set of files for an EJB JAR is controlled by the settings you have selected using the Properties dialog box: 1 Right-click the EJB module in the project pane. 2 Choose Properties. 3 Select the Content node in the left pane of the Properties dialog box. 4 Use this page to determine what goes in the JAR. For information about working with filters, see Adding filters in the Using the Archive Builder and the Native Executable Builder chapter of Building Applications with JBuilder. By default, JBuilder adds a set of default include filters based on file types. It also parses the module s deployment descriptors to figure out the required classes, which works in combination with any custom filters you have set. The option to include class dependencies is turned on by default. To turn off this behavior and to customize the classes and files included in the EJB JAR, uncheck the option Only Include Module Specific Classes on the Content page and add custom filters to control content. The Content|Dependencies page allows you to include dependent libraries. Any JARs defined in included libraries are expanded and included in the EJB JAR. You can also choose to specify a custom manifest for your EJBs. Use the Content| Manifest page. Editing deployment descriptors JBuilder s DD editor provides a way to modify the existing deployment descriptors. You can, however, choose to use any other deployment descriptor editing tool you want. To display the DD editor, double-click the EJB module in the project pane and click the EJB Module DD Editor tab at the bottom of the content page. The EJB DD editor appears. For information about using the DD editor, see Chapter 13, Editing EJB deployment descriptors. Chapter 10: Compiling enterprise beans and creating a deployment module 89
Find the right website host for you, offering a directory of website hosts, free domain name registration tool, hosting reviews, web hosting ratings and articles for beginners, and tons of other resources, check web hosting ratings for more information.

Leave a Reply