Tuesday, September 16, 2008

shared jar files in ear packaging

Q: Where you will keep your shared jar files in ear packaging so that it should be accessible by EJB module or web application and others module in ear?
ANS: 1. Make lib folder in root of ear packaging and put all shared file into this folder. This is new convention in JAVA EE.
2. Manifest Class-Path entry of all jar or war file for all shared resources.

Any other thought?

No comments: