This is all related to a RESTful service running under Glassfish and developed in Eclipse.
In my current project, I have all my Cayenne model classes, and a corresponding manager class contained in a separate namespace, say EventModel. I export a jar file for this namespace and use Maven to then include it as a dependency for a separate project, EventService. The problem I am running into is getting the Cayenne XML files accessible at runtime when I call the service on Glassfish. They are being included in the jar file for EventModel, which is being deployed when I publish to Glassfish in Eclipse. However, they are not sitting separately outside of the jar file for EvenrtModel. Is it possible to specify the path to the config files based on the jar file? If so how would I go about doing so? Everything related to Cayenne is contained within the same EventModel.jar file. Thanks Rick
