aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes What is the design pattern of transition delegates? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "What is the design pattern of transition delegates? " Watch "What is the design pattern of transition delegates? " New topic
Author

What is the design pattern of transition delegates?

shell Johnson
Ranch Hand

Joined: Jul 17, 2002
Posts: 37
I think the code of transition delegates in PetStore is very cool. Can anyone tell me what design pattern is this?
Byron Estes
Ranch Hand

Joined: Feb 21, 2002
Posts: 313
Sounds bit like the Gof4 Behavioral Pattern - command.


Byron Estes<br />Sun Certified Enterprise Architect<br />Senior Consulant<br />Blackwell Consulting Services<br />Chicago, IL<br /><a href="http://www.bcsinc.com" target="_blank" rel="nofollow">www.bcsinc.com</a>
Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
what is different between delegates and proxy?


SCJP<br />SCWCD<br />SCEA
Roman Rytov
Ranch Hand

Joined: Jun 04, 2001
Posts: 75
I'd say the both have the same idea - to create an intermediate (and single) point of access to the value services. At this point additional operations maybe carried out. GoF Proxy doesn't specify who is Subject and who is Proxy but BusinessDelegate operates mostly between Business tier (SessionBeans) and fron-end (Web and others). BusinessDelegate maybe implemented either by Proxy or by Adapter strategies. (btw, there's no big difference between Proxy and Adapter sometimes)


SCJA, SCJD, MCSD
 
 
subject: What is the design pattern of transition delegates?