aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About the Design pattern