This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 3rd party representation question