The PROXY Design Pattern Oleksandra Sopova Feb, 2014.

Slides:



Advertisements
Similar presentations
GoF State Pattern Aaron Jacobs State(305) Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.
Advertisements

SE2811 Week 7, Class 2 The Gang of Four and more … Lab Thursday: Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder.
Nevena Ackovska/Magdalena Kostoska Faculty of Computer Science and Engineering (FCSE) UKIM, Skopje, Macedonia 11 th DAAD Workshop on “Software Engineering.
Strategy Pattern1 Design Patterns 1.Strategy Pattern How to design for flexibility?
Design Patterns for Object Oriented systems CSC 515 Ashwin Dandwate.
Design Patterns Yes, they are important Robert Cotton April 23, 2009.
Fundamentals of Software Development 1Slide 1 Gang of Four The beginnings… The original “patterns” idea was from architecture – there are repeatable patterns.
James Tam Introduction To Design Patterns You will learn about design techniques that have been successfully applied to different scenarios.
OOHDM Hypermedia Research Work Designing Web-based applications with Object Oriented Hypermedia Design Method OOHDM.
Spring 2010CS 2251 Design Patterns. Spring 2010CS 2252 What is a Design Pattern? "a general reusable solution to a commonly occurring problem in software.
Design Patterns Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson,Ralph Johnson and John Vlissides (The Gang of.
Design Patterns Part IV (TIC++V2:C10) Yingcai Xiao 10/01/08.
Adapters Presented By Zachary Dea. Definition A pattern found in class diagrams in which you are able to reuse an ‘adaptee’ class by providing a class,
Design Pattern – Bridge (Structural) References Yih-shoung Chen, Department of Information Engineering, Feng Chia University,Taiwan, R.O.C. The Bridge.
1 Foundations of Software Design Fall 2002 Marti Hearst Guest Lecture: Good Programming Practices Marat Boshernitsan Computer Science Division, EECS University.
1 Computer Science 340 Software Design & Testing © Ken Rodham 2003 The “Visitor” Design Pattern Source: "Design Patterns: Elements of Reusable Software"
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. The Proxy Design Pattern (1) –A structural design pattern.
Builder A Creational Design Pattern A Presentation by Alex Bluhm And.
Design Patterns Trends and Case Study John Hurst June 2005.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 11 Reality Check: Java Programming in the Real World.
Advanced topics in software engineering CSC532 Term Paper Design Patterns Harpreet Singh Submitted By:-
Design Patterns Part two. Structural Patterns Concerned with how classes and objects are composed to form larger structures Concerned with how classes.
DaveAndAl.net Do Application Design Patterns Make Sense in ASP.NET? Alex Homer You may like to write these down now...
Aniruddha Chakrabarti
BTS430 Systems Analysis and Design using UML Design Patterns.
January 12, Introduction to Design Patterns Tim Burke References: –Gamma, Erich, et. al. (AKA, The Gang of Four). Design Patterns: Elements of Reusable.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 27. Review UML dynamic view – State Diagrams.
CS 325: Software Engineering February 12, 2015 Applying Responsibility-Assignment Patterns Design Patterns Situation-Specific Patterns Responsibility-Assignment.
Real Time Auction System Metex Systems Inc.. Inside the UML The Problem Auctioning in real time over the Web requires that many people connect and participate.
Behavioral Design Patterns Morteza Yousefi University Of Science & Technology Of Mazandaran 1of 27Behavioral Design Patterns.
CPSC 372 John D. McGregor Module 4 Session 1 Design Patterns.
Design Patterns Introduction to Design Patterns Eriq Muhammad Adams J. Mail : | Blog :
Mohammed Al-Dhelaan CSci 253 Object Oriented Design Instructor: Brad Taylor 06/02/2009 Factory Method Pattern.
Testing Extensible Design Patterns in OO Frameworks through Scenario Templates D.S. Sanders Software Verification & Validation.
CPSC 871 John D. McGregor Module 5 Session 1 Design Patterns.
Proxy, Observer, Symbolic Links Rebecca Chernoff.
Proxy.
Proxy Design Pattern By:Diksha Agarwal.
Singleton Duchenchuk Volodymyr Oksana Protsyk. 2 /48.
Design Patterns: Elements of Reusable Object- Orientated Software Gamma, Helm, Johnson, Vlissides Presented By: David Williams.
An Introduction To Design Patterns Jean-Paul S. Boodhoo Independent Consultant
Design Patterns. 1 Paradigm4 Concepts 9 Principles23 Patterns.
Patterns Composite Pattern. Patterns All designers use patterns. Patterns in solutions come from patterns in problems. "A pattern is a solution to a problem.
CORBA (Common Object Request Broker Architechture) Aniket Prabhune Varun Saini Balaprasuna Chennupati Lally Singh.
1 Advanced Object-oriented Design – Principles and Patterns Structural Design Patterns.
Game Programming Patterns From the book by Robert Nystrom
The Proxy Pattern (Structural) ©SoftMoore ConsultingSlide 1.
Seung Ha.  Façade is generally one side of the exterior of a building, especially the front.  Meaning “frontage” or “face”  In software architecture,
Object Oriented Methodology Course Introduction. Objectives A 3-credit hour graduate course explaining the development of object oriented software systems.
Software Design and Architecture Muhammad Nasir Structural Design Patterns
1 CS590L Distributed Component Architecture Yugi Lee STB #555 (816) * This presentation is prepared based.
Design Patterns CSCE 315 – Programming Studio Spring 2013.
Design Patterns Source: “Design Patterns”, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides And Created.
The Object-Oriented Thought Process Chapter 15
Introduction to Design Patterns
Pertemuan 08 Design Patterns & Anti-Patterns
Design Patterns Introduction
Design Patterns.
دانشگاه شهیدرجایی تهران
Informatics 122 Software Design II
تعهدات مشتری در کنوانسیون بیع بین المللی
Software design and architecture
Introduction to Design Patterns
Design Patterns Imran Rashid CTO at ManiWeber Technologies.
Informatics 122 Software Design II
Composite Design Pattern By Aravind Reddy Patlola.
Software Design Lecture : 38.
Presentation transcript:

The PROXY Design Pattern Oleksandra Sopova Feb, 2014

Remote method invocation

Back to our GumballMachine remote proxy

In our dating service we want : - make sure that a customer can set his own information while preventing others from altering it -allow just the opposite with the HotOrNot ratings: we want the other customers to be able to set the rating, but not that particular customer

Big Picture: creating a dynamic Proxy for the PersonBean Step one: creating Invocation Handlers

The Proxy Zoo

Summary The Proxy pattern introduces a level of indirection when accessing an object. A remote proxy can hide the fact that an object resides in a different address Space. A virtual proxy can perform optimizations such as creating an object on Demand. Both protection proxies and smart references allow additional housekeeping tasks when an object is accessed.

References Head First Design Patterns by Eric Freeman, Elisabeth Robson, Bert Bates, Kathy Sierra Design Patterns: Elements of Reusable Object- Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides Design Patterns by Andriy Buday RMI (Remote Method Invocation)

THANK YOU FOR YOUR ATTENTION