Forums Register Login

EAR/WAR/JAR Architecture

+Pie Number of slices to send: Send
Hi All,

Can anyone tell me how code scope within ear & war files? Or, can you tell me where to find the information.

Ex. of what I want to do.

1. Maintain only 1 EAR, but have many WARs that share some common code.
2. Since, multiple WAR files need to use common code, can I place the common code in one WAR's class folder (or is JAR better? if so, where should it be? in the WAR's lib or can it be directly in the EAR, outside of any WARs?)

Thanks for any assistance in Advance.

Thanks,
Keili
+Pie Number of slices to send: Send
In the referencing jar/war's META-INF/MANIFEST.MF add the Class-Path entry


[ April 13, 2007: Message edited by: Chu Tan ]
[ April 13, 2007: Message edited by: Chu Tan ]
Forget Steve. Look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1747 times.
Similar Threads
How to make utility JAR's in EAR's available to WAR's....
Multiple war in an ear file
custom taglib deployment in WebSphere
Looking up a webservice
Location of properties jar in an EAR
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:55:36.