Exporting applications using wsadmin scripting

You can export your applications before you update installed applications or before you migrate to a different version of the WebSphere® Application Server product.

Before you begin

The application whose contents you want to export is installed on a server.

About this task

Exporting applications enables you to back them up and preserve their binding information.

Procedure

  1. Start the wsadmin scripting tool.
  2. Export applications.
    • Export an enterprise application to a location of your choice, for example:
      • Using Jacl:

      • Using Jython:

        Table 1. export command elements. Run the export command to export an application to a file.
        $ is a Jacl operator for substituting a variable name with its value
        AdminApp is an object allowing application objects management
        export is an AdminApp command
        app1 is the name of the application that will be exported
        /mystuff/exported.ear is the name of the file where the exported application will be stored
    • Export Data Definition Language (DDL) files in the enterprise bean module of an application to a destination directory, for example:
      • Using Jacl:

      • Using Jython:

      Table 2. exportDDL command elements. Run the exportDDL command to export DDL files.
      $ is a Jacl operator for substituting a variable name with its value
      AdminApp is an object allowing application objects management
      exportDDL is an AdminApp command
      app1 is the name of the application whose DDL files will be exported
      /mystuff is the name of the directory where the DDL files export from the application



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 11:50:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=txml_exportdll
File name: txml_exportdll.html