*
The moose likes BEA/Weblogic and the fly likes Java Application in WebLogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Java Application in WebLogic" Watch "Java Application in WebLogic" New topic
Author

Java Application in WebLogic

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
hi folks,
I want to develop a Java Application that requires a DB connection pools. I am already having a web applicatin running that is using connection pool of Weblogic. I was thiking if I can use the same datasourse of Weblogic with my simple java applicaion. I might have to deploye it as an MBean or? any other idea. Is it possible or not?

Regards
A.B
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Using Weblogic just for a database connection is overkill. If you don't need any other Weblogic features, don't bother. Here's a list of open-source connection pool implementations you can use.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
Thanks, I have already used D3CP once, but I used it in web application. I am not sure if we can use all these pools as a components in any non-web or non-container based applicaion, like a simple java applicaion running independently of any container.

A.B
suravarapu sridhar
Greenhorn

Joined: Oct 29, 2002
Posts: 26

In order to use the connection pool defined in weblogic you will need to deploy your code on the weblogic server, even if its a simple java code (non web app) you can make is as a weblogic startup class.
 
 
subject: Java Application in WebLogic
 
Similar Threads
Connection pool InactiveconnectionTimeout value
Good EJB application server?
JNDI Lookup from weblogic to another Weblogic
Weblogic connection pools
Error in connetion pool driver.connect