Server User Manual

Table Of Contents
70 Developing Applications for J2EE Servers
Remote deploying
5 Select the Map Project EJB Modules At Runtime option:
6 Choose OK to close the dialog box.
EJB modules that are included in EARs wont be mapped at runtime. If you try to
deploy a module (either EJB or web) that has been mapped, JBuilder displays a
warning. If you try to map a module (either EJB or web) that has been already
deployed, the deployment will fail and JBuilder displays a warning. Youll also get a
warning if you right-click a module, choose Properties, and in the Build options page
select Never from the Build <Module> Directory drop-down list and then attempt to
deploy as an exploded directory or to map an EJB or web module.
Redeploying individual classes
For WebLogic 8.x only, once you have mapped an EJB project module at runtime as
explained in the previous section, you can then redeploy individual classes from the
module directory:
1 Right-click the class you want to redeploy (reload) in the project pane.
2 Choose Redeploy.
WebLogic 8.x Platform Server deployment features
The OpenTool for WebLogic 8.x Platform Server has improved deployment features.
You can now deploy submodules so you can deploy a module that has been newly
added to an EAR or redeploy it.
Use the deploy options on the context menu when you right-click the archive and choose
Properties. You can also access the deployment options when you choose Enterprise|
Server Deployment and choose from the actions on the drop-down Action list.
There are two additional options on the context menu that appears when you right-click
the archive and choose Deploy Options: Deactivate and Activate. Deactivate suspends
deployed components, leaving staged data in place for subsequent reactivation. To
reactivate a deactivated component, choose Activate. To totally remove the application
and any staged data from the server, choose Undeploy.
JBuilder now allows WebLogic Server 7.x and 8.x EAR, WAR, RAR, and EJB modules
to be deployed as an exploded directory. To permit this, follow these steps.
1 Choose Enterprise|Server Deployment to display the WebLogic Deploy Settings
dialog box.
2 Check the Deploy As Exploded Directory option.
3 Choose OK to close the dialog box.