On Mar 12, 2008, at 11:31 AM, Lasantha Ranaweera wrote:

Charles,

Thanks for the prompt reply.

I just want to access data store in a database via a Globus service. In JDBC we can get Connections via DataSource object after configuring it side of server. I want to know whether we can configure such DataSource inside of Globus container or not.

I think so. If you want to see how RFT does it, the source code is online at http://viewcvs.globus.org/viewcvs.cgi/ws-transfer/reliable/ service/java/source/src/org/globus/transfer/reliable/service/database/ RFTDatabaseSetup.java? revision=1.12.4.5&view=markup&pathrev=globus_4_0_branch

I don't see that it sets up a DataSource, but it does use JDBC. The connection strings and such are stored in the JNDI config files.


Charles

Reply via email to