Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
QmPe                                               initiativeCOMMAND PATTERN explained !                                Pr...
Command Pattern in Real LifeAC has a Remote Controller. RemoteController acts as the Request Generator.RemoteControl can r...
Command Pattern in Java                          Copyright 2006-2011
Real Life vs Java Object                 d              man        On Com       Off Command                           Copy...
Real Life vs Java Object        Remote Controller                            Copyright 2006-2011
How Command Pattern works in Real Life ? AC has a Remote Controller. RemoteController acts as the Request Generator. Remot...
How Command Pattern works in Java ?                              Copyright 2006-2011
THANK YOU                   Please visitwww.eclipseinclips.com | www.ancitconsulting.com     Write to us on info@ancitcons...
Prochain SlideShare
Chargement dans…5
×

Design patterns - Command Pattern

2 101 vues

Publié le

This presentation is part of the Design Pattern Series. Presentation explains the use of Command Pattern comparing it against a real life situation and then showcasing the Java implementation of the same.

  • Soyez le premier à commenter

Design patterns - Command Pattern

  1. 1. QmPe initiativeCOMMAND PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011
  2. 2. Command Pattern in Real LifeAC has a Remote Controller. RemoteController acts as the Request Generator.RemoteControl can raise 2 Requests ON and OFF. AC is the Receiver.It receives the request, executes the command to ON or OFF based on the request. nd mma O n Co Request Off CommandCommand Pattern is a Behavioral Pattern. Copyright 2006-2011
  3. 3. Command Pattern in Java Copyright 2006-2011
  4. 4. Real Life vs Java Object d man On Com Off Command Copyright 2006-2011
  5. 5. Real Life vs Java Object Remote Controller Copyright 2006-2011
  6. 6. How Command Pattern works in Real Life ? AC has a Remote Controller. RemoteController acts as the Request Generator. RemoteControl can raise 2 Requests ON and OFF. AC is the Receiver. It receives the request, executes the command to ON or OFF based on the request. nd mma O n Co Request Off Command Copyright 2006-2011
  7. 7. How Command Pattern works in Java ? Copyright 2006-2011
  8. 8. THANK YOU Please visitwww.eclipseinclips.com | www.ancitconsulting.com Write to us on info@ancitconsulting.com QmPe initiative Copyright 2006-2011

×