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

Chapter 13: Building J2EE modules 121
Improving module build performance
Improving module build performance
To improve module build performance, try these suggestions:
■
Remove file type filters that are not being used in the module. To do this, right-click
the module and choose Properties. Select the Module page and remove the file type
filters that are not in use for the module.
■
Turn off archive generation if the archive is not being deployed. To do this, right-click
the module and choose Properties. Select the Build page and select Never in the
Build <module type> Archive drop-down list.
■
Turn off the Build <Module> Directory option for modules other than web modules
and also for web modules if you are using a server other than Tomcat or WebLogic.
To do this, right-click the module and choose Properties. Select the Build page and
in the Build <module type> Directory drop-down list, select Never.
Warning Anything that is not excluded using an exclude filter on the Clean page will be deleted
during the clean process. Be sure to add an exclude filter on the Clean page for any
custom file types that you are using in your module directory.
Web modules
To improve web module build performance, turn off dependencies that are no being
used in the module:
1 Right-click the web module and choose Properties.
2 Select the Content|Dependencies page.
3 For each library that is not needed, select the Exclude All option for the Dependency
Rule value.
4 Choose OK.
Turning off the option Only Include Module Specific Java Classes and adding custom
filters to control content also improves module build performance.