jQuery in Action, 2nd edition*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hibernate follows MVC2 architecture
 
Similar Threads
Difference between MVC and MVC2
mvc architecture
Need Fast and good learning Spring?
struts arch. MVC1 or MVC2
can JSP be used as controller in MVC