Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This page describes how to package your artifacts into archives that you can deploy to Carbon or other servers. It contains the following sections:

Group Artifacts in to a Carbon Application Project

Suppose I already created all the artifact projects that I need.

New Server Runtime 

Now I want to create a Carbon Application Project group these artifacts. To create a Carbon Application Project, right click on the Project Explorer and go to New -> Project and select Carbon Application Project.

New Server Runtime 

New Server Runtime

Give a name to the Carbon Application project. As showed in the below image, it will display all the artifact projects that are available in the workspace. You can select whatever the projects that you need to group in to your Carbon Application Project.

New Server Runtime

Once you create the Carbon Application Project, you will see Carbon Application Project POM Editor is being opened.

New Server Runtime

Under Dependencies, you will see the project that you have selected are being ticked. It will display information such as Server Role and Version for each and every artifact. From the editor, you can change those details.

Artifact Level Packaging

With Developer Studio 2.0.0, you can create deployable archive each and every artifact level. Suppose I created an Apache Axis2 Service. Once you right click on the Axis2 Service Project, there is a option called Export Project as Deployable Archive. This will create the relevant deployable archive in the location you specified. For example, Deployable Archive for an Apache Axis2 Service is an Axis2 Archive (aar) file.

New Server Runtime

Following table shows you deployable item that will be generated for each and every artifact.

Artifact TypeProject Type
Apache Axis2 ArtifactAxis2 Archive [aar]
Web ApplicationWeb Application Archive [war]
JAX-WS ArtifactJava Archive [jar]
Endpoint Artifactxml
Sequence Artifactxml
Proxy Service Artifactxml
Local Entry Artifactxml
Synapse Configurationxml
ESB MediatorJava Archive [jar]
Registry ResourceRegistry Resource with necessary meta-data
Registry Handler ArtifactOSGI Bundle [jar]
Registry Filter ArtifactOSGI Bundle [jar]
Data Service ArtifactData Services Descriptor file [dbs]
Data Services Validator ArtifactOSGI Bundle [jar]
BPEL WorkflowBPEL Archive [zip]
GadgetDashboard Archive [dar]
Carbon UI BundleOSGI Bundle [jar]
Third Party Library ArtifactOSGI Bundle [jar]
  • No labels