Server User Manual

Table Of Contents
78 Developing Applications for J2EE Servers
Deploying
8 Set the Host field to the host name where the Deployment Manager is running.
9 Set the Port field to the port number of the Deployment Manager.
10 Set the User Name and Password fields if they are required; for example, if security
is enabled.
Deploying locally
To deploy locally to a server which is not running,
1 Right-click the node you want to deploy in JBuilders project pane and choose
Properties.
2 Select Deployment in the tree and click the Connection tab.
3 Set the Connection Type to NONE.
If the connection type is set to NONE, deployment actions performed while the server
is running wont start or stop the deployed module.
WebSphere Server 4.0
If you are using WebSphere 4.0 Advanced Edition, you must create an EAR group that
contains your beans. You then deploy the EAR group. For more information about
creating EAR groups, see Creating an EAR file in Developing Applications with
Enterprise JavaBeans.
Enterprise|Server Deployment displays a WebSphere Deployment dialog box.
Configure your deployment settings with this dialog box. JBuilder passes the settings
you specify on to the WebSphere deployment tool. The deployment tool for
WebSphere 4.0 differs depending on the version of the server you are using. For the
Single Server, WebSpheres deployment tool is SEAppInstaller. For the Advanced
Edition, the deployment tool is XmlConfig. Therefore, the appearance of the Deploy
Settings dialog box will vary between these two WebSphere Server 4.0 editions.
If your target application server is WebSphere 4.0 Advanced Edition and you want an
XML file to be generated as input to the WebSphere XMLConfig utility, check the
Generate XML check box. If this option isnt checked, the file wont be created. If you
make your own modifications to the generated XML file (named
deploy_<selectednode>.xml and appearing under the EJB module node or EAR group),
uncheck this option to be sure you dont lose your changes. If you use the Deployment
Options on the context menu (right-click the EJB module and choose Deployment
Options <jar name>.jar to see the deployment commands), the generated XML file is
deploy.xml. It appears under the project node.
Remote deploying
Follow these steps to use the WebSphere Deploy Settings dialog box to deploy to a
remote server:
1 Choose Enterprise|Server Deployment.
2 Select the Deploy action.
3 Specify these options in the Options field:
-nameServiceHost<host name> -nameServicePort<port number>
4 Set the Primary Node and Server Name to match your server configuration.
5 Click OK.