• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

lightweight & non intrusive frameworks

 
manish ahuja
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am trying to get a hang of Hibernate. I started reading it & was not fully able to undertstand the meaning of the terms lightweight & non intrusive framework.

Can some one explain this in technical parlance.

Does it mean that the framework does not have to implement or extend some set of proprietary API's.

Regards

Manish
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lightweight = doesn�t require a J2EE application server or the (full) J2EE technology stack
non intrusive = because there is no application server there are no server (or framework) dependent interfaces to implement on your Business/Domain object (like EJBObject, EJBHome, etc.). Most of the applications interaction with the framework is accomplished via Dependency Injection Inversion of Control Containers and the Dependency Injection pattern). In the case of Hibernate you still have to deal with the Session/Persistence manager � however, besides a synthetic key and maybe a version field, your Business/Domain objects remain independent of Hibernate which means you can test your Business/Domain objects without Hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic