• 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
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Hibernate, Spring, and TopLink

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been reading some of the discussions on this particular forum.

Consider me a newbie when it comes to these frameworks.....

I just started a new project and wish to know what the difference is between Hibernate, Spring, and TopLink? I know that Hibernate and TopLink (Oracle) are for object relational mapping (ORM), but what about Spring?

Should someone use these frameworks instead of EJB 2.0 or EJB 2.1?

Can they be incorporated into any app server (EJB Container)?

With thanks!
 
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably this article will introduce you better to Spring world, than I am able to.

--
:alex |.::the_mindstorm::.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hibernate and TopLink are direct competitors. They both do object/relational mapping.

EJB combines together a bunch of things: ORM, declarative transaction management, declarative security, distributed transactions, etc.

One of the ideas behind Spring is rather than forcing you to take that entire bunch of stuff, build a framework in which you can integrate whatever facilities you need, and pick the implementation you want. Thus with Spring you can easily use Hibernate, Toplink, or whatever for you ORM. You can also use Hibernate or Toplink with EJB, but it's a little awkward to do so.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic