File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes MVC, Controller with actionlisteners or methods for views Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "MVC, Controller with actionlisteners or methods for views" Watch "MVC, Controller with actionlisteners or methods for views" New topic
Author

MVC, Controller with actionlisteners or methods for views

Marc Antoni
Greenhorn

Joined: Jan 01, 2009
Posts: 2
I've visited tons of websites and see two different approaches for mvc. With one approach the controller contains actionListeners for the view and where the view has getter methods for the fields. With another approach the controller has methods for the view to call.

Could someone tell me which of the two is recommended and why?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC, Controller with actionlisteners or methods for views
 
Similar Threads
MVC - model 2
Question about Controllers + ActionEvent in MVC
Swing
Observable/Observer and MVC
which is the best way for event handling