Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strategy pattern in part2

 
Igor Malkovich
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic