MVC architecture is native in Swing framework, your controller is the Event Handler you implement, it performs actions based on the source of the event.
Joined: Jun 15, 2005
Mari pierre, then :
Web Front controller : Point central of application for all request of all users.
Swing Front Controller: Point central of application for all request of one user. (It's considered how Front Controller ??? this is my doubt.
Can help me ??
Marie Pierre Courbevoie
Joined: Aug 01, 2005
Summarily: An Event Handler is a listener (implements java.awt.event.ActionListener), you register this Event Handler with the Swing components you want to monitor in the initialize method of your Swing application. Each time swing components state change (user clicks a button...), an event is fired. the Event Handler intercepts this event, retrieves the source and execute associated action. In a web application, user clicks a link..., the webcontroller intercepts the requested URL and execute associated action. In the web application, there're direct interactions between the system and the customers; in the Swing client application, travel agent act on customers' behalf.
Hope this helps
Marie Pierre [ August 21, 2005: Message edited by: Marie Pierre Courbevoie ]