• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic