Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 30th, 2006, 08:25 AM
Registered User
 
Join Date: Jan 2006
Location: hyderabad, Andhra Pradhesh, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Desing Pattern

I just want to know what is the difference between Front controller design pattern and Facade design pattern. I just can't understand the difference between the two.

M Kalyan Tilak
Reply With Quote
  #2 (permalink)  
Old January 31st, 2006, 06:10 AM
Authorized User
 
Join Date: Jan 2006
Location: , , USA.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to longjava
Default

Even they provide a similar idea, by providing a single point of entry, but they are different:

A Facade design pattern provides a simplified interface to a larger body of code, such as a Java class library. It can:
- make a software libary asier to use and understand, since the facade has convenient methods for common tasks.
- reduce dependencies of outside code on the inner workings of a library, since most code uses the facade, thus allowing more flexibility in developing the system.
- wrap a poorly designed collection of APIs with a single well-designed API.

A Front Controller design pattern is typically apply to the Web framework such as Struts, Webwork etc. It has two reponsibilities:
- Retrieving Parameters: The handler receives the HTTP Post or Get request from the Web server and retrieves relevant parameters from the request.
- Select Commands: The handler uses the parameters from the request first to choose the correct command and then to transfers control to the command for processing.

Hope this help

Reply With Quote
  #3 (permalink)  
Old February 2nd, 2006, 04:01 AM
Registered User
 
Join Date: Jan 2006
Location: hyderabad, Andhra Pradhesh, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your kind response. The response is really good.

M Kalyan Tilak
Reply With Quote
  #4 (permalink)  
Old February 14th, 2006, 07:04 AM
Registered User
 
Join Date: Feb 2006
Location: bangalore, karnataka, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello sir this is ram kishore(vrc).now i am in b'lore

k.ram kishore
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Pattern How To muklee Javascript How-To 3 September 15th, 2006 09:11 AM
last directory pattern pc2006 BOOK: Beginning Regular Expressions 1 September 8th, 2006 12:45 AM
Database Desing surferdude Access 13 June 21st, 2006 12:29 PM
design pattern kishore.dyn Struts 1 February 14th, 2006 02:36 PM
DirectoryInfo.GetFiles(pattern): search pattern fo arif_1947 VS.NET 2002/2003 1 October 19th, 2004 11:59 PM



All times are GMT -4. The time now is 04:09 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.