Changing or adding EJB Jar files

Why and when to perform this task

You can change EJB Jar files on application servers without having to stop the server and start it again. This file describes--

Changing the ejb-jar.xml file of an EJB Jar file

Restart the application. Automatic reloading will not detect the change. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.

Hot deployment Not applicable
Dynamic reloading Yes

Change the ibm-ejb-jar-ext.xmi or ibm-ejb-jar-bnd.xmi file of an EJB Jar file

Restart the application. Automatic reloading will not detect the change. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.

Hot deployment Not applicable
Dynamic reloading Yes

Changing the Table.ddl file for an EJB Jar file

Rerun the DDL file on the user database server. Changing the Table.ddl file has no effect on the application server and is a change to the database table schema for the EJB files.

Hot deployment Not applicable
Dynamic reloading Not applicable

Changing the Map.mapxmi or Schema.dbxmi file for an EJB Jar file

  1. Change the Map.mapxmi or Schema.dbxmi file for an EJB Jar file.
  2. Regenerate the deployed code artifacts for the EJB file.
  3. Apply the new EJB Jar file to the server.
  4. Restart the application. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.
Hot deployment Not applicable
Dynamic reloading Yes

Updating the implementation class for an EJB file or a dependent class of the implementation class for an EJB file

  1. Update the class file in the application_root/module_name.jar file.
  2. If automatic reloading is enabled, you do not need to take further action. Automatic reloading will detect the change.

    If automatic reloading is not enabled, restart the application of which the EJB file is a member. If the updated module is used by other modules in other applications, restart those applications as well. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.

Hot deployment Not applicable
Dynamic reloading Yes

Updating the Home/Remote interface class for an EJB file

  1. Update the interface class of the EJB file.
  2. Regenerate the deployed code artifacts for the EJB file.
  3. Apply the new EJB Jar file to the server.
  4. If automatic reloading is enabled, you do not need to take further action. Automatic reloading will detect the change.

    If automatic reloading is not enabled, restart the application of which the EJB file is a member. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.

Hot deployment Not applicable
Dynamic reloading Yes

Adding a new EJB file to an existing EJB Jar file

  1. Apply the new or updated Jar file to the application_root location.
  2. If automatic reloading is enabled, you do not need to take further action. Automatic reloading will detect the change.

    If automatic reloading is not enabled, restart the application. Use the administrative console to restart the application. Or run the wsadmin stopApplication and startApplication commands.

Hot deployment Yes
Dynamic reloading Yes

Related tasks
Hot deployment and dynamic reloading



Searchable topic ID:   trun_app_hotupgrade_ejb
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/trun_app_hotupgrade_ejb.html

Library | Support | Terms of Use | Feedback