|
Hello everyone!
This is maybe not orion-specific (off-topic) but may be
relevant anyway.
How can you in a manageable way include "library" code, i e
common code in an EAR which should be accessible from both the WAR and the
EJB-JAR, and also preferably be put in the same EAR. The only way I can think of
now is to duplicate code between the EJB-JAR part and the WEB-INF/classes
directory, which is not a very nice solution.
Another way would be to link the external code through another
JAR-file, and tie together using a Manifest, but I cannot resolve exactly which
Manifest should be used (the EAR or the JAR?) and how this should be done. I
have read the Sun specs about the Jar-manifest format but either they are
very unclear, or I have not found the right information.
Any clarity in this matter would be greatly appreciated.
/August
|
- RE: Sharing code between web-app and ejbs August Linnman
- RE: Sharing code between web-app and ejbs Mike Cannon-Brookes
- RE: Sharing code between web-app and ejbs Conrad Chan
- RE: Sharing code between web-app and ejbs Mike Cannon-Brookes
