Presentation facade design pattern
-
Upload
bayu-firmawan-paoh -
Category
Technology
-
view
129 -
download
5
Transcript of Presentation facade design pattern
FACADEPATTERN
SHARING BYB AY U F I R M A W A N P A O H
Let StartOur Journey
“Facade pattern hides the complexities of thesystem and provides an interface to theclient”
http://www.tutorialspoint.com/design_pattern
Definition
Sample
Customer Service
Shipping
Billing
Order Fullfillment
Client
Client
• javax.servlet.http.HttpSession• javax.servlet.http.HttpServletRequest• javax.servlet.http.HttpServletResponse• javax.faces.context.ExternalContext
FACADE USED IN JAVA API
HttpSession session=request.getSession();session.setAttribute(name,value);session. getCreationTime();
Sample
BenefitsConsequences
Its Time ToDemo JEDI!
CLASS DIAGRAM
Lets CodeJEDI!
Thank YouSlide :bit.ly/sharingfacadepatternGithub : bit.ly/githubfacadepattern