File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes hibernate follows MVC2 architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate follows MVC2 architecture" Watch "hibernate follows MVC2 architecture" New topic
Author

hibernate follows MVC2 architecture

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
is hibernate framework follows MVC2 design pattern? if you have any idea about spring frame work and tiles following MVC architecture then please let me know thanking you


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Well, out the box Hibernate doesn't contain anything analogous to View or Controller components (unless you argue that the Session is a controller?), so no. But then again why would it? Its a persistence technology, not an application framework.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
Originally posted by Paul Sturrock:
Well, out the box Hibernate doesn't contain anything analogous to View or Controller components (unless you argue that the Session is a controller?), so no. But then again why would it? Its a persistence technology, not an application framework.


well, thanks for your information

as every framework follows one architecture what hibernate framework follows?


and one more help needed from you

apart from struts framework is any other framework follows MVC2 ?

thanks for your help
Jonathan Huang
Ranch Hand

Joined: Jun 23, 2006
Posts: 35
Hibernate isn't a framework or follow one. It's a service.

Spring MVC is a good MVC Framework which hibernate works very well in.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: hibernate follows MVC2 architecture