This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes About the Design pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "About the Design pattern " Watch "About the Design pattern " New topic
Author

About the Design pattern

Jack Lam
Greenhorn

Joined: Jul 09, 2004
Posts: 17
Objective....
Match design patterns with statements describing potential benefits that accrue from the use of the pattern, for any of the following patterns: Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object.

i am always get confuse with MVC and Front Controller
could you please tell me what is the main different between them ?

Thanks


SCJP 1.4 , SCWCD (in progress)
Paul Croarkin
Ranch Hand

Joined: Sep 30, 2004
Posts: 106
i am always get confuse with MVC and Front Controller could you please tell me what is the main different between them ?


MVC separates the code into three types of components:

Model - data. Could be EJBs, DAO, etc
View - JSPs, html, etc
Controller - request handling and the glue between the Model and View

Front Controller centralizes all the Controller layer request processing into one component.


For more detail, see:
Model-View-Controller
Front Controller


Thanks,<br /> <br />Paul Croarkin<br />SCEA 5, SCWCD, SCJP
Shiang Wang
Ranch Hand

Joined: Jun 20, 2003
Posts: 96
Pay attention to the consequences and force of each pattern. You are not required to know the detail deployment, but you do have to know the effect of applying the pattern and why you need them.

Shiang


SCBCD, SCWCD, SCJP
 
jQuery in Action, 2nd edition
 
subject: About the Design pattern