• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JTS and JDBC in J2EE

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have a doubt regarding JTS and JDBC pools
Whats the difference between JTS pool and JDBC connection pool
Which is advantageous ,why and in what situation should I use JTS pool?
Thanx in advance
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
as far as i know we use JTS driver to connect connection pooling .
In weblogic they providded TXdatasource which uses this jts driver inbuilt to connect to the databse thru connection pooling
pavithra

Originally posted by Mary, Cole:
Hi all,
I have a doubt regarding JTS and JDBC pools
Whats the difference between JTS pool and JDBC connection pool
Which is advantageous ,why and in what situation should I use JTS pool?
Thanx in advance


 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Using JTS and JDBC Connection pooling are 2 different things, with JDBC pooling u just maintain a pools of connections to the database which help to improve the performance of ur system, but with JTS which is the Java Transcation Services, and for using them we have the Java Transcation API short JTA, in that we can obtain and run our programs in Expilict Trancations which we can manage oursevles, this feature one cant get from JDBC, thus the transcaion which the client can make using JTA can be propogated to EJB's which can run in the client transaction and the container automatically rolls back all the updates to the DB if the tranction fails, or else if we can deteremine such a conditin the we can use Usertrancation.rollback() method.
Hope this helps,
Cheers,
Daman
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic