File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

3rd party representation question

 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Suppose that I have a 3rd party jar file, which will be bundled with the WAR file (inside WEB-INF/lib), and I will be using this jar in my application.

Question: how do I present this 3rd party jar file in both Class diagram & Component diagram ?

Thanks.
 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any help please ?
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luay Abdulraheem wrote:any help please ?


You can not present it in Class Diagram since it is not your class... You can show it on Component and Deployment diagrams.
 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Component diagram I can show, but what if my deployment unit is an EAR file, and the jar is part of the WAR file, how can I show it in Deployment diagram ?
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it make sense to add it to ear archive? if you add it it can not be reused by other application deployed to this app server. In my opinion it should be added to /lib folder on app server therefore it will be available on the class path and ready to use by other application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic