Java / Design Patterns
Difference between Front Controller and View Helper in J2EE.
Front Controller is a controller pattern which provides a centralized controller for managing requests. All incoming requests are delegated to front controller first and it is useful when your application has multiple entry points which you want to centralize through a single point for standardized processing.View Helper, on the other hand, is in the view layer. It simply arranges view components for the user and delegates processing to other business components so the view component doesn't have to contain any processing logic other than logic to present views.Example is if you need a menu selection to persist through all the views, you store the menu items on the View Helper which calls different views but you will always have access to the menu. Usually both Front controller and view helper are used together.
More Related questions...