Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Component Diagram of Part II

 
Juee Doo
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some questions about component diagram.

1. In assignment, it give the component examples are EJB, servlets,JSP,POJO..., Should i give all jsp and servlets in diagram?
Is this too detail?


2. Should take WebServer and AppServer/Container as component?
a) take them as a parent component, put my business components into them.
b) take them as a seperated component same as my business component, and put a dependency relationship between them.

Which is correct? Or better?

3. How to show the interface between components that reside in webserver and appsever? Are JNDI/Message such j2ee standard interface or my business interface like XXXFacadeSession?
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Study Deployment Diagram, you may get an idea.

About level of detail, it's your job as an architect to decide.
 
Scott Soo
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Juee Doo wrote:I have some questions about component diagram.

1. In assignment, it give the component examples are EJB, servlets,JSP,POJO..., Should i give all jsp and servlets in diagram?
Is this too detail?


2. Should take WebServer and AppServer/Container as component?
a) take them as a parent component, put my business components into them.
b) take them as a seperated component same as my business component, and put a dependency relationship between them.

Which is correct? Or better?

3. How to show the interface between components that reside in webserver and appsever? Are JNDI/Message such j2ee standard interface or my business interface like XXXFacadeSession?


Hi,

I would suggest to read the UML Chapter on Mark Cade and analyse how he relates the different diagrams. Additionally, take a look at "UML Distilled" to have a better understanding on the different UML diagrams. With much thoughts put in place after understanding the chapter and the book, I would believe you will know what to do.

Cheers!!
 
Juee Doo
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, i find Mark Cade's book is very useful for part II. it is a pity that i didn't read this book when prepare part I.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic