WebCenter Service connections and deployment

45 views
Skip to first unread message

Yannick Ongena

unread,
Mar 17, 2011, 6:10:23 AM3/17/11
to webcen...@googlegroups.com
Hi all,
 
Has anybody got any experience with deploying WebCenter applications that uses services? For example when you use the document service or discussion service, you create a connection in JDeveloper, configure it as the defaul connection and you can start using the taskflows.
 
When you have different environments (dev, test, prod) and each environment has their own instance of UCM and discussion server, how do you configure your deployment profile? Do we need to use ant, if so, can someone give an example? If there another way to create a connection like we do with the database connection?
 
Another questions. Suppose i have a connection to UCM and i use some taskflows. Suppose that i also need to write a custom taskflow based upon the RIDC because  the taskflows and UCM datacontrols does not meet the requirements. Is there a way to get the connection defined in JDeveloper and pass this to the RIDC api instead of needing to configure the connection again? This would also help when deploying because when you use both the connection i JDev and RIDC, you need to modify the connection setting in two places...
 
Kind regards
Yannick Ongena

Nelson

unread,
Mar 17, 2011, 9:21:09 AM3/17/11
to webcen...@googlegroups.com
Hi Yannick,
 
I know that isn't the best way to do this, but in my case when I choose deploy, Jdev open a screen that ask me my mds repository, and If I have some change in connection I go to the Connection Tab and change if I need. I'll aprecciate if someone have a better way to do this.
 
About the custom RIDC taskflow, in my case I just do hard code the connection url. But maybe is possible create a Bean that is populate based in connections.xml and get the property.

2011/3/17 Yannick Ongena <yannick...@gmail.com>
--
You received this message because you are subscribed to the WebCenter Enterprise Methodology Group (http://groups.google.com/group/webcenter-emg). To unsubscribe send email to webcenter-em...@googlegroups.com
 
All content to the WebCenter EMG lies under the Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/). Any content sourced must be attributed back to the WebCenter EMG with a link to the Google Group (http://groups.google.com/group/webcenter-emg).



--
Nelson Maia
___________________________
Consultor Oracle Webcenter
(041) 9915 0897| Skype: nellson.maia
http://about.me/nellson.maia

Maiko Rocha

unread,
Mar 20, 2011, 1:46:24 PM3/20/11
to webcen...@googlegroups.com


When you have different environments (dev, test, prod) and each environment has their own instance of UCM and discussion server, how do you configure your deployment profile? Do we need to use ant, if so, can someone give an example? If there another way to create a connection like we do with the database connection?

Changing the connection settings is a post-deployment task. Yes, I'd recommend a scripted approach using ANT to automate the process. More here:

 
  Is there a way to get the connection defined in JDeveloper and pass this to the RIDC api instead of needing to configure the connection again?

It is possible to retrieve the connection by accessing the ADF Config MBean and getting a connection factory. Not sure if this is documented (probably not) or supported. The other question is if the retrieved connection can just be passed to RIDC api or if it is a wrapper. I will try to check that. On the link below you will find the location of the ADFConfig MBean and its shared connections node:


[]s!
Maiko

 

--
Reply all
Reply to author
Forward
0 new messages