We have earlier seen how to deploy your data in to MDS using ANT script in following
fault-handling-in-oracle-soa-suite post in previous blog
In this exercise we will see how we can do it by creating the jar file.There are three steps for it.
Create a JAR profile and include the artifacts to share
Create a SOA bundle that includes the JAR profile
Deploy the SOA bundle to the application server
Select the project whose artifacts you want to send in MDS and right click on it,
select project properties as shown
Now click on deployment and then create a new.
Choose jar as option and give it some logical name
Deselect Include Manifest File
This prevents the archive generator from adding the manifest file (META-INF/MANIFEST.MF) into the JAR file.
Deselect the Project Output Directory and Project Dependencies options
This prevents the archive generator from adding the contents of the project output and project dependencies into the archive.
Now click on add-->then browse and add your project into it.
Select File Groups > Project Output > Filters from the navigational tree on the left.
Select only thing which you want to store in your MDS as in my case i want to store only xsd so i have choosen only xsd file
Say ok and you will find a jar file getting created
save all
Now From the Application Menu, select Application Properties > Deployment.
Click New to create a SOA bundle profile.
The Create Deployment Profile dialog appears.
From the Archive Type list, select SOA Bundle. A bundle is a collection of multiple SOA composite applications.
give some logical name
Now select dependencies on left hand side and then choose the project and its jar file as shown
Save it and now you are ready to deploy it.
Go to application---Deploy--->your bundle
Deploy it to your application server
No comments:
Post a Comment