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
76 Developing Applications for J2EE Servers
Starting the server
the WebSphere 4.0 Advanced Edition only. If you are using one edition of WebSphere
4.0 and change your target server to the other version, you must recompile your project
to ensure JBuilder generates the correct deployment descriptors for you.
If the database schema name used is different from the username, manually modify
the
Schema.dbxmi file as follows:
1 Make the project to generate the CMP descriptors.
2 Double-click the EJB module node in the project pane to open the EJB module
viewer.
3 Click the source view for Schema.dbxmi.
4 Add the following line above the last line of the source:<RDBSchema:RDBSchema
xmi:id="RDBSchema_1" name="<your_schema_name>" database="<database_id>"
tables="<table_id>"/>
5 Rebuild the project to incorporate the change.
Starting the server
To prepare to start the server from within JBuilder, create a server runtime
configuration. Follow these steps:
1 Choose Run|Configurations.
2 In the dialog box that appears, click the New button.
3 Select Server from the Type drop-down list.
4 In the Name field, enter a name, such as Server or something that will identify the
run configuration.
5 Fill in the VM Parameters and Server Parameters needed to run the server. If you’ve
selected a target application server as described in “Selecting a server” on page 75,
default values are already in place.
6 Click OK.
To start the server, click the down-arrow next to the Run Project icon ( ) and select
the server run configuration you just created.