Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 3741
39
  • 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: 3741
39
  • 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: 3741
39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
jboss.jcml
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic