uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

7.2 Packaging

An EAR file is created by assembling the files related to HCSC components that need to be deployed in the execution environment. This process is called packaging. Here, service adapters and business processes are collectively referred to as HCSC components.

Packaging HCSC components also packages the data transformation definitions and user-defined reception interfaces related to these HCSC components.

When packaging is performed, the HCSC components are validated. HCSC components can be packaged if they have been defined correctly, but if they have not been defined correctly, the validation process generates an error during packaging. Therefore, you can ensure smooth packaging if you validate the HCSC components before performing the packaging.

To package HCSC components:

  1. In the service definition list in the tree view, right-click the HCSC component to be packaged, and then select Packaging or Package multiple services.
    • If Packaging is selected:
      A message dialog box appears.
    • If Package multiple services is selected:
      The Package multiple services dialog box appears. Select the check boxes for the services to be packaged, and then click OK.
  2. Perform one of the following operations:
    • If packaging is successful
      Click OK.
      If an EAR file already exists, an overwrite confirmation dialog box appears. To overwrite the file, click Yes.
    • If packaging fails
      Take action according to the message displayed in the dialog box, and perform the packaging again.

If the service adapter, business process, and user-defined reception interface have not been saved before packaging, the Save Resource dialog box appears so that you can save these definitions. If multiple service adapters, business processes, and user-defined reception interfaces are being edited, this dialog box appears more than once. To save a definition, click OK. To save all the definitions without displaying the subsequent confirmation dialog boxes, click Yes to all.