1. For deploying any shared resource in SOA MDS, we need to create a generic project in Oracle JDeveloper and create necessary folders under it and store the dvm file.
In our example, DTEMS is the project created and the hierarchy of folders is
TestingDvm -> dvm ->idName.dvm (this folder structure will not be visible in JDeveloper, but only in the project workspace).
2. Now, in JDeveloper right click the project (here DTEMS), go to Project Properties -> Deployment.
Click New, select Archive Type as JAR File, name the jar and click OK.
Now in JAR Options, uncheck “Include Manifest File”
From Project Output -> Contributors deselect all.
Go to Filters and check the folder under which the dvm files are located (TestingDvm here) and click OK
Now, the archive is created named “DvmArchive”
3. Now, we need to create a SOA Bundle for packaging the created JAR and deploy it in server.
For that, go to Application Properties of the application under which the project is created and then go to Deployments.
Select Archive Type as SOA Bundle, name the bundle and click OK
In the next screen, go to Dependencies, check the archive (containing the jar) created before (DvmArchive) and click OK
Now, the SOA Bundle named “dvmSOABundle” is created.
4. Now we need to Deploy this SOA bundle to the server.
5. Now, to see the deployed shared resources , we need to create a SOA-MDS connection (DB based connection)
6. Now you can see the resources in the desired folder structure under the /apps directory as below
7. And we are done; the resource can be accessed in the project as ---
"oramds:/apps/TestingDvm/dvm/idName.dvm"

