This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
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.
posted 9 years ago
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 ]