views:

515

answers:

1

We need to prepare part of our EAR for deployment, we usually do this by loading it into the RAD, right clicking on the EJB and selected "Prepare for deployment" option. Then we export the EAR.

Is there a scripting interface to the IBM RAD 7 application or running the prepare from the command line so we don't have to manually go through the steps?

A: 

You can use the ejbdeploy command to generate the deployment code. It's bundled with both RAD and WAS.

See "Generating EJB deployment code from the command line" at the WAS infocenter.

Kjetil Ødegaard
Unfortunatley it doesn't work correctly with out code which still uses EJB1.We've discussed this with IBM and it seems that when we update our EJB that we will not need to do this step. Until then we have to use the RAD
Alastair