Originally posted by Al Hollis:
My understanding of MVC is..
JSP for the way the content looks
Servlets for performing opperations on data
Beans for use of storing data.
As Vijendra mentioned, MVC is not specific to Java web apps.
I believe it has its roots in SmallTalk.
I know it was used extensively in early Apple/Mac GUIs.
Usually when building Java web apps, Servlets are used as the controllers (C) and handle web flow. Beans are the Model (M) and handle the business logic and communication with other data objects (such as EJBs or
JDBC databases). JSPs are the View (V), and are used for formatting the output.
I have a very simple example of this on my own site
http://simple.souther.us. Look for SimpleMVC.