Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes hibernate follows MVC2 architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: hibernate follows MVC2 architecture
 
Similar Threads
mvc architecture
struts arch. MVC1 or MVC2
Difference between MVC and MVC2
can JSP be used as controller in MVC
Need Fast and good learning Spring?