wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes BMP JBoss - Oracle Connections through DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "BMP JBoss - Oracle Connections through DataSource" Watch "BMP JBoss - Oracle Connections through DataSource" New topic
Author

BMP JBoss - Oracle Connections through DataSource

David Rocks
Ranch Hand

Joined: Apr 24, 2001
Posts: 162
Hi,
I have a few beans in JBoss that are BMP. Just now i am getting a connection through a typical piece of JDBC - Driver Manager etc which i am aware is totally the wrong way to go about this. the BMP are working fine so the database connection from JBoss is fine.
I am aware that there is a connection pool that i can access, through JNDI i think.
can anybody show me a code example or something 'cos the jboss forums are down and i cannot find anything anywhere.
thanks in advance
david
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3207
    
    5
Hello.
We are using the following approach in our project :


jaws.xml


jboss.jcml


Everything works stable.
Hope, this code helps you.
Mikalai.
[ June 06, 2002: Message edited by: Mikalai Zaikin ]

Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3207
    
    5
Just add:
versions of JBoss are 2.4.3 and 2.4.4
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3207
    
    5
jboss.jcml
 
Don't get me started about those stupid light bulbs.
 
subject: BMP JBoss - Oracle Connections through DataSource