Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Registry Resource Project.

    Tip

    If you already have a Registry Resource Project created, follow the steps below to create a Registry Resource in it.

    • Right-click on the Registry Resource Project it in the left navigation panel and click New, and then select Registry Resource.
      create new registry resource
    • Select the From existing template option and click Next
      create from existing template
    • Continue from step 5 below.
  2. Enter a name for the project and click Next.
    enter details of the new project
  3. Enter the Maven information about the project and click Finish.
    enter maven information about the project 
  4. Right-click on the Registry Resource Project in the left navigation panel and click New, and then select Registry Resource.
    right click and create registry resource
  5. Anchor
    step5
    step5
    Enter a resource name and select the WS-Policy template along with the preferred registry path.
  6. Click Finish
  7. Open the created policy by double-clicking on the created policy file.
  8. The policy file opens in a multi page editor with a Security Form Editor as the design view and an XML editor as the source view.
    Design View

     
    Source View
  9. Enable security by specifying the required scenario in the Security Form Editor. Click the icon next to each scenario for more information.
  10. You can provide service information as private store and advanced configuration information as rampart configuration.
    Image Removed Image Removedthe rampart configuration, as shown below.
     Image Added
  11. If the security policy you selected requires keystores for signing and encryption, you can specify the keystore details as shown below.
    Image Added
  12. For certain scenarios, you can specify user roles. After you select the scenario, scroll to the right to see the User Roles button. Alternatively, maximize the window. 
  13. Either define the user roles inline or retrieve the user roles from the server.
    Define Inline
     
    Get from the server

...

  1. Right-click the Project Explorer and click New -> Project.
  2. From the window that opens, click Composite Application Project.
  3. Give a name to the Composite Application project and select the projects that you need to group into your C-App from the list of available projects.
  4. In the Composite Application Project POM Editor that opens, under Dependencies, note the information for each of the projects you selected earlier. Be sure that the server role selected for the registry resource in the Composite Application Project POM Editor is changed to EnterpriseServiceBus.

  5. To deploy the artifacts using the ESB's management console, you need to create a CAR file as follows:
    • Right-click the C-App project and select Export Composite Application Project from the pop-up menu.
      OR
    • Open the pom.xml file in the Composite Application Project POM Editor and click the button for creating an archive in the upper-right corner.

  6. Give the location of the CAR file and the artifacts you want to include in it.

  7. You have now exported all your project's artifacts into a single CAR file. Next, deploy the Composite Application in the server.

...

Info

See  Packaging Artifacts into Composite Applications, for more information on using CAR files.