• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Showing WAR/EAR files in a Component Diagram

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to know how war and ear files are shown on a component diagram. As component diagrams show only dependencies, it can be inferred that a war/ear file depends on its source/compiled files. Is this a correct representation?
source file components <- class file components <-war/ear files?
In Java, since a source file has the same name as the class file (except the extension), it may be redundant to show both. So would you have a generic component that represents either source file or class file or both?
This is a general question that relates to a project- not necessarily SCEA assignment. To phrase the question better: In a typical web application what do you show on a component diagram (assuming that a component diagram is required)?
Thanks in advance
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think it is necessary to show WAR/EAR files on a component diagram. If you are wanting to demonstrate where files may be deployed to, you can combine the component diagram with a deployment diagram to show which components are deployed to the web tier and which are deployed to the EJB tier.
You can demonstrate what type of component you are representing by using stereotypes
eg: <<JSP>> or <<servlet>>
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic