*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Strategy pattern in part2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Strategy pattern in part2" Watch "Strategy pattern in part2" New topic
Author

Strategy pattern in part2

Igor Malkovich
Greenhorn

Joined: Jun 08, 2011
Posts: 10
HI guys, how would you show strategy pattern using ejb3 in sequence diagram? Would you inject all possible strategies and then have algorithm which choose right one - or would you use "new" keyword?

Cheers!
 
Don't get me started about those stupid light bulbs.
 
subject: Strategy pattern in part2