• 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
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Showing WAR/EAR files in a Component Diagram

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
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
Srini
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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>>
 
reply
    Bookmark Topic Watch Topic
  • New Topic