• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BMP JBoss - Oracle Connections through DataSource

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 3908
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 3908
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just add:
versions of JBoss are 2.4.3 and 2.4.4
 
Mikalai Zaikin
Bartender
Posts: 3908
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
jboss.jcml
 
reply
    Bookmark Topic Watch Topic
  • New Topic