Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Business class under model layer or not

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Business layer(Business classes) comes under Model in MVC2 or Not.
View : Its a presentation layer ( HTML , JSP)
Controller : Action servlet which recieves all the request , process the req and send res back
model : It is responsible for storing and retrieving data from database.
I need clear usage of model in mvc. I googled, but could nt get exact definition
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In model2 MVC the business logic come in the Model, the user interface in the View and the behavior in the Controller as far as i understood ...
There is nothing called MVC1 and MVC2. i think it is model 1 and model 2 of MVC

not MVC1 and MVC2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic