badpanda
badpanda

Reputation: 2454

Implementation examples of 'Model-View-Controller' pattern in Java?

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

Answers (2)

Matthew
Matthew

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

Related Questions