Server User Manual

Table Of Contents
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 youve
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.