Re: Sharing DataObject Jar among web contexts

2010-03-16 Thread Andrus Adamchik
Hi Tobias, This is just generally a bad practice to package "business" libraries in the container, and .war files should ideally be self-contained (aside from dependency on a subset of JEE APIs). So the best way of sharing is actually including your jar in a war. For controlled installati

Sharing DataObject Jar among web contexts

2010-03-15 Thread Tobias Schoessler
Hi, I have many web apps sharing the same cayenne/mapping objects. I want to share my cayenne classes among these web apps. I have packaged the classes successfully in a jar together with the cayenne.xml using a jndi data source and the Map xml file. I have put this jar in the shared lib level of