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

Desgin Patterns - SCEA

 
ravi appala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can you tell, in whcih diagrams (Sequence,component,etc),we show J2EE Design patterns? and also stereo types?

Thanks in advance.
 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>Can you tell, in whcih diagrams (Sequence,component,etc),we show J2EE >Design patterns? and also stereo types?
Hi Ravi,
there are different opinions about that. I think we should show J2EE Patterns resp. the components (e.g. ServiceLocator) only in the Component Diagram. Others show them also in the Sequence Diagram. But I am also uncertain.
Regards
Roger
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in class diagram and component diagram, u can look up the blueprint section on sun's website
 
Rajul King
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all depends what kind of pattern are you trying to establish. If it is a structural pattern, it should be in class diagram or object diagram. If it is a behaviour pattern, it might go in sequence, collaboration, activity or statechart, depending on what is the best way to represent it.
 
ravi appala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,
I do not aggree with you. Design patterns divided into structural, etc depending on which tier of application design you want to apply. It is not devided to show in which part of uml diagram?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic