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
120 Developing Applications for J2EE Servers
Sample build scenarios
EAR with custom files
This sample adds .dat files along with the archives and descriptors to an application
module (EAR):
1 Choose Tools|Preferences.
2 Select the Browser|File Types page.
3 Select Generic Resource File in the Recognized File Types list box.
4 Click the Add button to display the Add Custom Extension dialog box.
5 Enter dat and choose OK.
6 Choose Project|Project Properties.
7 Select the Build|Resource page.
8 Select dat in the list box and select the Copy option.
9 Right-click the application module and choose Properties.
10 Select the Content page and click the Add Filters button.
11 Select the Include option and add the follow filter in the Expression field: **/*.dat
12 Choose OK.
RAR with classes and dependencies
Follow these steps:
1 Right-click the connector module and choose Properties.
2 Select the Content page.
3 Select the Java Class file type and click the Add Filters button to add a new filter.
4 Select the Include option and add a new filter in the Expression field.
5 Choose OK.
6 Select the Content|Dependencies page and select the required libraries. Select the
Include All option.
7 Choose OK.
Application client module with classes and dependencies
Follow these steps:
1 Right-click the application client module and choose Properties.
2 Select the Content page.
3 Select the Java Class file type and click the Add Filters button to add a new filter.
4 Select the Include option and add a new filter in the Expression field.
5 Choose OK.
6 Select the Content|Dependencies page and select the required libraries. Select the
Include All option.
7 Choose OK.
These steps will expand the libraries into the application client JAR.