Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is Hibernate?

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
what is Hibernate?
 
Christian Bauer
author
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.hibernate.org/About/IntroducingHibernate
 
Wayne Kidd
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hanna Habashy:
hi:
what is Hibernate?


Hibernate is a set of tools and an api for referring to the information in relational database tables as if they were simple java objects and allowing those java objects to be stored and retrieved (persisted). It is one of 2 free, open-source toolsets that do that. There are also several commercial toolsets.

Wayne
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it sounds like it is similar to EJB entity beans, is it?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hanna Habashy:
it sounds like it is similar to EJB entity beans, is it?


Yes but entity beans are complicated.
 
Dave Trussell
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Wayne Kidd:


It is one of 2 free, open-source toolsets that do that.

Wayne


What's the other one?
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dave Trussell:


What's the other one?


I believe the other one they're talking about is Castor.
 
Wayne Kidd
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ones I commonly think about as purely O/R mapping frameworks are Apache OJB (Object Java Bridge) and Hibernate. There are other open-source tools, but they all seem to me to stray into other arenas. Castor, for example does XML / Java mapping. That is a good thing, but is not pure O/R Mapping. Cayenne is probably in the same list with OJB and Hibernate, although I have not used Cayenne, but I have used both of the other 2.



Wayne
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hanna Habashy:
it sounds like it is similar to EJB entity beans, is it?


The problem about EJB entity beans is not exactly that they are more complicated. I see this as follows: entity beans are not reusable pieces of code (because they are intrusive - must implement, must have abstracts, etc) and the full dev cycle takes longer. You finally obtain a dependent domain model which is not what you need. On the other hand, with ORMs you have your domain model independent from the persistence layer.

/pope
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Wayne Kidd:
The ones I commonly think about as purely O/R mapping frameworks are Apache OJB (Object Java Bridge) and Hibernate. There are other open-source tools, but they all seem to me to stray into other arenas. Castor, for example does XML / Java mapping. That is a good thing, but is not pure O/R Mapping. Cayenne is probably in the same list with OJB and Hibernate, although I have not used Cayenne, but I have used both of the other 2.



Wayne



How do you think between OJB and Hibernate ? (Performance, Easy ....).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic