WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Managing applications through programming

This topic describes how, through Java MBean programming, to install, update, and delete a Java 2 Platform, Enterprise Edition (J2EE) application on WebSphere Application Server.

Before you begin

This task assumes a basic familiarity with MBean programming. For information on MBean programming see MBean Java application programming interface (API) documentation.

Before you can install or change an application on WebSphere Application Server, you must first create or update your application and assemble it using an assembly tool.

Why and when to perform this task

Besides installing, uninstalling, and updating applications through programming, you can additionally install, uninstall, and update J2EE applications through the administrative console or the wsadmin tool. All three ways provide identical updating capabilities.

Steps for this task

  1. Perform any or all of the following tasks to manage your J2EE applications through programming.
    1. Install an application.

      This article provides an example for initially installing an application on WebSphere Application Server.

    2. Uninstall an application.

      This article provides an example for uninstalling an application that resides on WebSphere Application Server.

    3. Update an application.

      This article provides an example for updating the installed application on WebSphere Application Server with a new application. When you completely update an application, the deployed application is uninstalled and the new enterprise archive (EAR) file is installed.

    4. Add to, update, or delete part of an application.

      This article provides an example that you can use to add to, update, or delete part of an application on WebSphere Application Server.

    5. Add a module.

      This article provides an example for adding a module to an application that resides on WebSphere Application Server.

    6. Update a module.

      This article provides an example for updating a module that resides on WebSphere Application Server. When you update a module, the deployed module is uninstalled and the updated module is installed.

    7. Delete a module.

      This article provides an example for deleting a module that resides on WebSphere Application Server. When you delete a module, the deployed module is uninstalled.

    8. Add a file.

      This article provides an example for adding a file to an application that resides on WebSphere Application Server.

    9. Update a file.

      This article provides an example for updating a file on WebSphere Application Server. When you update a file, the deployed file is uninstalled and the updated file is installed.

    10. Delete a file.

      This article provides an example for deleting a file on WebSphere Application Server. When you delete a file, the deployed file is uninstalled.

  2. Save your changes to the master configuration repository.
  3. Synchronize changes to the master configuration across the nodes for the changes to take effect.

What to do next

If you have further application updates, you can do the updates through programming, the administrative console, or the wsadmin tool.



Sub-topics
Installing an application through programming
Uninstalling an application through programming
Updating an application through programming
Adding to, updating, or deleting part of an application through programming
Preparing a module and adding it to an existing application through programming
Preparing and updating a module through programming
Deleting a module through programming
Adding a file through programming
Updating a file through programming
Deleting a file through programming

Related concepts
Ways to update application files

Related tasks
Hot deployment and dynamic reloading
Deploying and administering applications
Getting started with scripting

Related information
Assembling applications

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tjmx_updating_app.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)