Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP JBoss - Oracle Connections through DataSource

 
David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mikalai Zaikin
Ranch Hand
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just add:
versions of JBoss are 2.4.3 and 2.4.4
 
Mikalai Zaikin
Ranch Hand
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jboss.jcml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic