Meaningless Drivel is fun!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes 3rd party representation question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "3rd party representation question" Watch "3rd party representation question" New topic
Author

3rd party representation question

Luay Abdulraheem
Ranch Hand

Joined: May 18, 2011
Posts: 65
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.


SCJP, SCWCD, OCMJEA, OCEEJBD, OCEJPAD, TOGAF® 9 Certified, OCEJWSD
Luay Abdulraheem
Ranch Hand

Joined: May 18, 2011
Posts: 65
any help please ?
Krzysztof Koziol
Ranch Hand

Joined: Nov 19, 2006
Posts: 133

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.


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCEA/OCMJEA 5.0
Luay Abdulraheem
Ranch Hand

Joined: May 18, 2011
Posts: 65
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

Joined: Nov 19, 2006
Posts: 133

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 3rd party representation question
 
Similar Threads
Jar Tag (put libraries in Jar file).
3rd party jar file/META-INF?
Deploying a java application with class path dependencies as a .jar file
How to include third party jar files with in manifest file.
some mock questions?