Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is difference between turbine, torque, commons DBCP and hibernet ?

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what is difference between turbine, torque, commons DBCP and hibernet ? especially , torque is very similar to hibernet?

//-------------------------

so many choices, I don't know which one to choose. What I just want,

1. easy conneted to DB
2. thread safey in database operation
3. object mapping is NOT a have-to.

which one I should choose ?
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hibernate is an Object Relation Mapping (ORM) tool. It is used to store Objects in a relational database.

DBCP is a DataBase Connection Pool. It helps to manage Database connections (Connnections are expensive to create so prepare some and keep them ready before the application needs them might save some time).

i can't say to much about torque.


pascal
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Torque is the O/R mapping component of Turbine, it is as similar to Hibernate as a flint knife is to an assault rifle. I've used it. Compared to Hibernate and JDO it's primitive and temperamental. Don't use it.

If you want to stay away from full blown O/R mapping have a look at the Spring JDBC template or iBatis.

- Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic