Re: Component Diagramming
Monday, December 9, 2002 11:33 PM
Hei Suresh Addagalla, (IdduAgatte)
The main constituents of a Component Diagram are 'components', which by definition are, "physical units of implementation with well-defined interfaces that is intended to be used as replaceable parts of a system". This said,
1. Static html pages (Web component)
2. Jsp/Servlet components
3. DAO objects(DB API)
all become your components. And in your component diagrams you depict them as components with proper dependencies (dotten lines with open arrow heads, with actual direction of navigation), realization & stereotypes.
Your browser, Servlet container, Web server, DB server are actually NODES, which are depicted in other physical view diagram namely "DEPLOYMENT DIAGRAM". Here each of your nodes is depicted as a Cube with necessary communication links & dependencies.
Yes, you can interpose (club) these two to specify the scope of your components, for example,
STATIC PAGE components in WEB SERVER node
SERVLET/JSP components in TOMCAT node
Hope it was helpful, god bless !!