+

Search Tips   |   Advanced Search

 

Change or adding EJB Jar files

 

You can change enterprise bean (EJB) Jar files on appservers without having to stop the server and start it again.

 

Overview

There are several changes that you can make to EJB Jar files without stopping the server and starting it again.

See Ways to update application files and determine whether hot deployment is the appropriate way for you to update your EJB Jar files. Other ways are easier and hot deployment is appropriate only for experienced users. You can use the update wizard of the console to make the changes without having to stop and restart the server.

The following table lists the changes that you can make to EJB Jar files by manipulating an EJB file on the server where the application is deployed. The table also states whether you use hot deployment or dynamic reloading to make the changes.

Change Hot deployment Dynamic reloading
Change the ejb-jar.xml file of an EJB Jar file. Not applicable Yes
Change the ibm-ejb-jar-ext.xmi or ibm-ejb-jar-bnd.xmi file of an EJB Jar file. Not applicable Yes
Change the Table.ddl file for an EJB Jar file. Not applicable Not applicable
Change the Map.mapxmi or Schema.dbxmi file for an EJB Jar file. Not applicable Yes
Update the implementation class for an EJB file or a dependent class of the implementation class for an EJB file. Not applicable Yes
Update the Home/Remote interface class for an EJB file. Not applicable Yes
Add a new EJB file to an existing EJB Jar file. Yes Yes

 

Procedure



Hot deployment and dynamic reloading
Start applications with scripting
Stopping applications with scripting