-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: when to use hibernate ?
PostPosted: Sun Mar 20, 2005 9:55 pm 
Newbie

Joined: Sun Mar 20, 2005 9:38 pm
Posts: 1
If I don't need persistence in my application, should I use hibernate ?

If an application mostly queries data from database, e.g. stock data, historical stock quotes. Is using hibernate a legitimate solution ?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 3:29 am 
Newbie

Joined: Mon Mar 21, 2005 3:06 am
Posts: 1
Hibernate is a ORM tool. It comes with some over head as compared to using plain JDBC but advantages are enormous. As you say that your application will be doing read operation most of the time, its good to use cache available with hibernate. This will save lot of trips to database when user wants to access historical data.

If you are comparing Hibernate with EJB, the decision depends on what architecture you are following? How far you want your application to be clustered?

There are many threads on this discussion
http://www.hibernate.org/124.html

Amit.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.