This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine" Watch "Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine" New topic
Author

Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine

hemanth neelam
Greenhorn

Joined: Jul 21, 2010
Posts: 1
I've written a simple java class in my client machine to get jdbc datasource using weblogic jndi context created in weblogic server which is hosted in remote machine. I'm facing a small problem to get this datasource object. Can any one please help to sort it out?

I've included the below list of jars in my classpath. Please let me know if i have to include any other jars or to remove from the jars.

The weblogic version which i'm using is weblogic 11g. I've attached source code for your reference.

com.bea.core.transaction_2.6.0.0.jar
com.bea.core.weblogic.security.identity_1.1.2.0.jar
weblogic.jar
wlclient.jar


Please help me it's very urgent.

Below is the code for your reference.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine