With Fusion Middleware 11G the MDS repository plays a important role for ADF customizations and SOA shared objects. In this blog I explain how you can create a MDS database repository, deploy customizations to this MDS database and what you can do with MDS in the Enterprise manager website.
First we need to download the RCU repository creation utility and install a MDS repository in a Oracle Database.
Use a sysdba account
We only have to select the Metadata Services and provide a prefix
Next we need to install Weblogic with the Soa, Webcenter or Application development runtime extension. This extension gives us the Enterprise Manager website where we can configure the MDS repository. Select your Weblogic domain and select the MDS menu option.
Register the just created MDS repository. In my case I will call this repository adf
The EM website automatically create a datasource which we can use later.
If we have an ADF application with customizations and we deploy this to the Weblogic Server then JDeveloper detects the MDS repository
JDeveloper automatically creates a new MDS partition and uses your ear deployment name as partition name. It also uses the just created datasource to fill the MDS database. Just press deploy
When we go back to the EM website we can see the just created MDS partition.
The EM website also provides MBeans with some MDS operations.
For example we can query the partitions of a MDS repository.
When we select our just deployed ADF application and go to the MDS menu option, we can administer the MDS partition of this application.
We can export the MDS customization and import this to a different Weblogic server which has the same ADF application.
At last we can take a look at the MDS repository, here we can see that all the customizations entries are registered in the database. But the customizations xml are still located on the server, a bit strange I would suspect that with a MDS repository in the database that everything is loaded in the database.
Tuesday, July 21, 2009
MDS repository for ADF 11G
Subscribe to:
Post Comments (Atom)

2 comments:
I recently came accross your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Susan
http://8080proxy.com
Hi Edwin,
I have religiously followed the steps and tried to replicate setting up of the MDS repository to the DB.However JDeveloper does not automatically detect the registered meta data repository nor am I able to connect the application to the repository after installation.I have found in oracle forums that it is necessary to add datasource name in adf-config.xml.Kindly comment
Post a Comment