...
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.
- Select the From existing template option and click Next.
- Continue from step 5 below.
- Right-click on the Registry Resource Project it in the left navigation panel and click New, and then select Registry Resource.
- Enter a name for the project and click Next.
- Enter the Maven information about the project and click Finish.
- Right-click on the Registry Resource Project in the left navigation panel and click New, and then select Registry Resource.
Enter a resource name and select the WS-Policy template along with the preferred registry path.Anchor step5 step5 - Click Finish.
- Open the created policy by double-clicking on the created policy file.
- 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
- Enable security by specifying the required scenario in the Security Form Editor. Click the icon next to each scenario for more information.
- You can provide service information as private store and advanced configuration information as rampart configuration.
the rampart configuration, as shown below.
- If the security policy you selected requires keystores for signing and encryption, you can specify the keystore details as shown below.
- 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.
- Either define the user roles inline or retrieve the user roles from the server.
Define Inline
Get from the server
...
- Right-click the Project Explorer and click New -> Project.
- From the window that opens, click Composite Application Project.
- 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.
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.
- 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.
- Right-click the C-App project and select Export Composite Application Project from the pop-up menu.
Give the location of the CAR file and the artifacts you want to include in it.
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. |