java - relation among views and models -


In the MVC pattern, if I have two different views, then do I have two different models? Is there a one-one relationship between the scene and the model?

MVC (model view controller) is a design pattern Principles Do one thing on the basis of and do it well ...

A single model

model

Controller is the action on which

Swing MVC based on. Also know as PLAF (Pluggable Look and Fail)

A Java program where the model is different from the scene, can be easily used with different views.

Example: Well written and well-written business logic can be used in swing and JSP to show output ...

Comments