Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What exactly does the "Model" part mean? Is it the same as the domain model? I've read that it's a map, but I'm having a hard time understanding the concept.

share|improve this question
    
where did you read it? provide more details. –  Yusubov Aug 4 '12 at 15:59
    
I read it in Spring's official document and their javadoc –  Robert Aug 4 '12 at 16:04
add comment

1 Answer

up vote 1 down vote accepted

I've always treated it as a View Model as opposed to a pure Domain Model, the ModelAndView class name lends itself to that distinction as well as the use of a Map to drop various bits of model data in for viewing purposes.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.