Reputation: 2454
I am looking for general coding examples of the MVC pattern in Java to help me better understand the best practices associated with it. I have done the basic google search, and read the Wiki lol. If anyone has further examples or comments they would be very much appreciated!!
:D Badpanda
Upvotes: 2
Views: 877
Reputation: 1875
The Java Swing framework is also an excellent example of an MVC architecture.
There are some subtle differences between Swing and other MVC frameworks like Spring. Unlike a web service where most model objects are short-lived and the controller is responsible for flow of control, Swing relies on long-lived GUI data that communicate updates using events.
Upvotes: 2
Reputation: 31903
http://static.springsource.org/downloads/petclinic.doc
http://static.springsource.org/docs/petclinic.html
Upvotes: 2