This document will demonstrate how to configure the DB/FILE based MDS (Meta Data Services) with Fusion Application.
1.1. Type of Meta Data Services:
There are two different types of MDS. Types of MDS are as follows
· File Based MDS
· DB Based MDS
1.2. Enable MDS Customization:
In this section I will explain how to enable MDS customization with your current application. For enable MDS follow the below instruction:
1. Go to property of your current Web project.
2. Select the ADF View from right side navigation.
3. Select the enable User Customization check box.
4. Select type of changes Across Sessions using MDS.
5. Click on Ok button.
By this approach MDS will setup to your application you can run your application check the changes will persist to xml file.
1.3. Define Component to persist changes
For defining the component whose value you want to persist.
1. Open the adf-config.xml file from Application Resources
2. Select the MDS Configuration and add the UserCC class for all User Customization to persist.
3. Select now view from navigation and tag to tag table by using Icon.
4. If you want to add some other tags or attribute which is not present here like renderd attribute of panel box. You can do that using the source editor. It will looks like:
5. But for that you have to do little bit coding which I will explain later section.
Here your component and attribute selection will be finished. Now your application will support User customization. Here I am explaining some application level property for MDS.
Select the application go to properties --> Run --> MDS
These properties will only used while you running application using JDeveloper on default domain /IntegratedWebLogicServer.
Override server location: It will be the new location where you want to store all customized changes. Here you can change the default directory for changes but it will not effect if you want same application to run on stand-alone weblogic instance.
Directory Content: It will be represent that you want to persist changes of previous application run by JDeveloper or not.
1.4. File Based Meta Data Services:
In File based Meta Data Services all user customization will be store in a form of xml file on a define directory on server. User can change the default MDS directory.
1. Start the domain on which you want to deploy the application.
2. Make a connection to running domain using the Application Server Connection.
3. Select your application Deploy --> Deploy .
4. Select Deploy to Application Server
5. Select your running domain connection
6. Press Next --> Next --> Finished.
7. It will open another wizard page.
8. If above screen appear blank that you can create the file connection on server for that login to console application go to Services --> persistent store --> Create file store.
9. Then again you have to start from Step 1, then screen will appear like
10. Click on deploy button.
It will deploy your application to running domain. You can also get one copy of deployed application on to deploy folder of you root application. You can open that ear file with the winrar and can see updated adf-config.xml file.
By using this approach you can deploy File Based Meta Data to any domain even on default domain (For this provides details of default domain while making a connection to server).
1.5. DB based Meta Data Service:
In this section we will see how to configure DB Based Meta Data Services. For defining the DB based MDS first start the domain and login to console application using http:localhost:7101/console
1. Before that you must run RCU utility.
2. Go to Services --> JDBC --> Data Sources
3. Create a new Database connection to your MDS database.
Set following property
Name : | mds-dev |
JNDI-Name : | jdbc/mds/MDSDS |
Data Base Type: | Oracle |
Database Driver: | *Oracle's Driver (Thin) for Instance connections; Versions: 9.0.1,9.2.0,10,11 |
Supports Global Transactions: | Un Checked |
Database name : | XE |
Host Name: | 127.0.0.1(ip of your database) |
Port: | 1521 |
DataBase User: | DEV_MDS |
Password: | Welcome1(your MDS DB password) |
Target : | Select server like DefaultServer or AdminServer |
4. Once you have completed it, follow the step 1 to step 7 of 1.4 section.
5. After that you will get wizard page like Database name
6. In above page Repository Type is DB.
Once you click on deploy button DB based MDS will setup for your application you can also check the details in to Ear file.
You can also fine PDF version of this blog on following link MDS Configuration PDF
What is the advantage of using meta data services in ADF can go for DB connection instead of usin META Data services.
ReplyDeleteMeta Data Service are used to maintain the user customization of either user or seed. user customization mean managing the layout and different adf component. MDS can be configured for both File and DB. For more details follow the blog
DeleteHi Amit,
ReplyDeleteFor the DB based MDS ,after following the above steps,the partition name is blank and hence deployment is failing,I tried creating a partition from wlst,but that too is failing,but I am able to deploy to a file-based MDS.Is there any other way to create partition for mds repository registered in an integrated WLS ?
For creating MDS repository you have to run RCU utility which will create mds user in database then follow steps from 1.5. DB based Meta Data Service:
DeleteSome us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage
ReplyDeletecontribution from other ones on this subject while our own child is truly discovering a great deal.
Have fun with the remaining portion of the year.
Selenium training in bangalore
Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
Thanks for sharing The Information The Information shared is very valuable Please keep Updating us Time Just went on redaing the article Python Online Training AWS Online Training Devops Online Training Data Science Online Training
ReplyDeleteThanks for sharing The Information The Information shared is very valuable Please keep Updating us Time Just went on redaing the article
ReplyDeletesap training in chennai
sap training in omr
azure training in chennai
azure training in omr
cyber security course in chennai
cyber security course in omr
ethical hacking course in chennai
ethical hacking course in omr
Appreciate you sharing, great article.Much thanks again. Really Cool.
ReplyDeleteSAP Bods training