Server User Manual
Table Of Contents
- Developing Applications for J2EE™ Servers
- Contents
- Ch 1: Introduction
- Ch 2: Programming for the Java 2 Platform, Enterprise Edition
- Ch 3: Creating applications with J2EE technologies
- Ch 4: Configuring the target server settings
- Ch 5: Using JBuilder with Borland servers
- Configuring Borland servers in JBuilder
- Making the ORB available to JBuilder
- Configurations, partitions, partition services, and J2EE APIs
- Starting the configuration or server
- Remote deploying
- Remote debugging
- Web module workarounds
- Displaying the Borland Management Console in JBuilder
- International issues
- Borland servers and JDataStore 7.0
- Ch 6: Using JBuilder’s CORBA tools
- Ch 7: Using JBuilder with BEA WebLogic servers
- Ch 8: Using JBuilder with IBM WebSphere servers
- Ch 9: Using JBuilder with JBoss servers
- Ch 10: Using JBuilder with Tomcat
- Ch 11: Editing J2EE deployment descriptors
- Ch 12: Integrating with Enterprise Information Systems
- Ch 13: Building J2EE modules
- J2EE modules
- Setting module build properties
- Adding custom file types
- Sample build scenarios
- EJB JAR without any bean classes
- EJB JAR with custom files
- EJB JAR without EJB designer XML descriptors
- WAR with custom descriptor(s) in the WEB-INF directory
- WAR without any classes
- WAR with custom class filters
- WAR with custom file types
- EAR with custom files
- RAR with classes and dependencies
- Application client module with classes and dependencies
- Improving module build performance
- Index
![](/manual/borland-software/jbuilder-2005/server-user-manual/images/img-112.png)
116 Developing Applications for J2EE Servers
Setting module build properties
Connector Module wizard. Compiling a connector module creates a RAR (Resource
Archive) file. For more specific information about creating connector modules and
editing the deployment descriptors, see Chapter 12, “Integrating with Enterprise
Information Systems.”
■
Application — An application module can contain any of the other types of J2EE
modules and wraps them into a single application and includes its own deployment
descriptor entries. Create an application module using the File|New|Enterprise|
Application Module wizard. Compiling an application module creates an EAR
(Enterprise Archive) file. For more specific information about creating application
modules and editing the deployment descriptors, see “Creating an application
module” in the “Deploying enterprise beans” chapter of Developing Applications with
Enterprise JavaBeans.
■
JBoss service — A JBoss service module contains the definition of a service. Once
you compile the service module, a service archive (SAR) is created, ready to be
deployed to JBoss. For information about creating a JBoss service module, see
“Creating a JBoss service module” on page 84
Setting module build properties
The content of an archive is controlled by a combination of node level properties (filters
for file types and classes and dependencies). The content of the archive will match the
content of the module directory. To begin editing the properties of a module, right-click
the module in the project pane and choose Properties on the context menu.
File type filters
In the Properties dialog box for a module, the Content page contains a list of include file
type filters that control which file types are copied over from the project’s output path to the
module directory before the archive is created. The file types listed here match the global
file types recognized by JBuilder. (See Tools|Preferences|Browser|File Types.) Each
module has a list of pre-selected file type filters depending on the type of module. For
example, the EAR module has only the Archive and the XML file type selected by default.
The file types therefore work in combination with the include and exclude filters. For
example, if you add a recursive exclude filter for a certain file type, it will override the
file type filter selection.
Class and resource filters
You can customize archive content using custom filters. Add filters on the Content
page of the Properties dialog box for a module. The following default rules apply for the
different module types:
■
EJB JAR content is by default controlled by the classes defined in the module
descriptors and dependent classes. You must add any other classes using custom
filters. The Java Class file type is included by default. To turn off this behavior,
uncheck the option Only Include Module Specific Java Classes and add custom filters.
■
Web JAR content is by default controlled by the classes defined in the module
descriptors and dependent classes. You must add any other classes using custom
filters. The Java Class file type is included by default. To turn off this behavior,
uncheck the option Only Include Module Specific Java Classes and add custom
filters.
■
An application client JAR by default includes all classes in the project’s output path
and the generated classes, such as IDL stubs. The Java class file type is included
by default.