• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Component Diagram of Part II

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic