On Jun 9, 2006, at 15:53, Tore Halset wrote:

My web application has a single DataDomain. This application are sometimes deployed with a second application (as a boundled jar- file in the same classloader) that I am porting over to cayenne. As the first application has to work without the second app loaded, my main cayenne.xml has only the first domain and map-file.

During startup of the main application, I want to load the second domain and map if it is pressent. Is that possible? How?

If it is easier, I guess using a single DataDomain for both of the DataMaps should be possible. Each of the DataMaps will have a separate DataNode. I still wonder how those can be loaded if present.

 - Tore.

Reply via email to