3 Working with Object Packaging

This chapter contains the following topics:

3.1 Using Object Packaging in JD Edwards EnterpriseOne Object Management Workbench

This section provides overviews of JD Edwards EnterpriseOne Object Management Workbench and object packaging and discusses how to:

  • Save an object to a PAR file.

  • Restore an object from a PAR file.

3.1.1 Understanding JD Edwards EnterpriseOne Object Management Workbench

JD Edwards EnterpriseOne Object Management Workbench (OMW) is the primary component of the change management system for EnterpriseOne development. A change management system is vital to a productive development environment because it helps organize a myriad of development activities and helps prevent problems, such as when a developer intermixes components from different releases or when multiple developers simultaneously change an object. JD Edwards EnterpriseOne OMW automates many of these change management activities.

OMW provides a way for developers to save and restore an entire OMW project or individual JD Edwards EnterpriseOne objects from their local specifications. This provides a simple way to backup development work or move objects between machines. For example, a developer may need to pass their JD Edwards EnterpriseOne objects to a quality engineer for testing.

See JD Edwards EnterpriseOne Tools Object Management Workbench Guide.

3.1.2 Understanding Object Packaging

Object packaging within OMW is the mechanism by which you can save and restore your OMW project or JD Edwards EnterpriseOne objects from and to local specifications. This is done by using a PAR file. A PAR file is similar to a zip file in that it contains compressed files and directories. Developers can use OMW to create PAR files for individual objects in order to easily transfer the object to another machine for testing or further development. JD Edwards EnterpriseOne objects are stored in XML format within the PAR files.

3.1.3 Saving an Object to a PAR File

To save an object to a PAR file, access JD Edwards EnterpriseOne OMW.

  1. In JD Edwards EnterpriseOne OMW, select the object or project that you want to save.

  2. Click the Save button in the center column.

    The jdeomw dialog box appears. OMW provides two methods with which to save an object. The first method is to save the object to a zip file. If you save the object to a zip file, OMW saves the object or project as a local copy in a PAR file format, which is compatible with Zip, Jar, and JD Edwards Change Assistant technologies. The second method is to save the object to a shared database location.

  3. Click Yes to save the object to a zip file.

  4. On the Select Folder form, search for and select the folder to which you want to save the object, and then click Open.

    OMW creates a PAR file for your object at the specified location. You can copy the PAR file to email or portable storage and easily move it to another machine.

3.1.4 Restoring an Object from a PAR File

To restore an object from a PAR file, access JD Edwards EnterpriseOne OMW.

  1. In JD Edwards EnterpriseOne OMW, select the object or project that you want to restore.

  2. Click the Restore button in the center column.

  3. On the Overwrite/Delete Specs Confirmation window, click Yes.

    The jdeomw dialog box appears and provides options for you to choose from where you want to restore the object. You can choose to restore the object from a zip file, or to restore the object from the Save location specified by the OMW administrator.

  4. Click Yes to restore the object from a zip file.

    Note:

    If you have saved at the object level, you will restore at the object level. If you have saved at the project level, you will restore at the project level. To restore individual objects from the project, you can use WinZip to open the PAR file and extract the individual objects.
  5. On the Select Folder form, search for and select the PAR file from which you want to restore the object or project, and then click Open.

    OMW restores the object or project. For objects that are new, all appropriate information is created. All actions are logged by the system.

    Note:

    You can use OMW Allowed Actions to limit access to the save/restore functionality if necessary.

3.2 Using Object Packaging in JD Edwards EnterpriseOne Configuration Assistant

This section provides an overview of JD Edwards EnterpriseOne Configuration Assistant and discusses how to include JD Edwards EnterpriseOne objects in a configuration.

3.2.1 Understanding JD Edwards EnterpriseOne Configuration Assistant

The Configuration Assistant is a standalone Java-based tool provided by Oracle that allows you to extract a subset of JD Edwards EnterpriseOne configuration information into a portable archive. This data can then be loaded into any other JD Edwards EnterpriseOne environment using Change Assistant.

The Configuration Assistant provides another simple method to package JD Edwards EnterpriseOne objects as well as data and other configuration items. The Configuration Assistant is used with Oracle Business Accelerators (OBA) to assist you with the setup and configuration of business data, program versions, task views, user-defined codes (UDCs), and JD Edwards EnterpriseOne objects. Using Configuration Assistant, you can specify the configuration elements that you want to package, including objects, tables, versions, UDCs, security records, and task views. You can also specify the loading instructions for each configuration element into the target environment, which include whether to replace tables, replace records, or append records.

See Also:

3.2.2 Including JD Edwards EnterpriseOne Objects in a Configuration

To include JD Edwards EnterpriseOne objects in a configuration:

Caution:

This is a very basic example of how to create a configuration. Creating configurations requires more planning, development, and testing than discussed here. Please see JD Edwards EnterpriseOne Configuration Development Methodology 9.0 Guide for more information about configuration development.
  1. Within Change Assistant, select Tools, Configuration Assistant.

  2. In Configuration Assistant, select an existing configuration or add a new configuration.

  3. Use the Search tab to find OMW projects and objects.

  4. Select the projects and objects that you want to include in the configuration.

  5. Select other items, such as tables and UDCs, that you want to include in the configuration.

  6. Click the Extract Configuration Data button.

    The Extract Status window appears and displays the status of the extraction as it occurs.

  7. Click the Report button or look at the status bar to see if the extraction was successful.

    A PAR file containing the selected objects is created and placed in your configuration directory.

    Note:

    The configuration directory is defined within the Preferences for Configuration Assistant.
  8. Use Change Assistant to restore the PAR file.

See Also:

  • Online help within the Configuration Assistant application.

  • JD Edwards EnterpriseOne Configuration Development Methodology 9.0 Guide.

  • JD Edwards EnterpriseOne Tools Release 8.98 Configuration Assistant User Guide.