Title: Message
I'm wondering if castor can use multiple mapping files and if so if anybody has done so.
 
Our code is seperated into different subsystems that are packaged up as seperate jars.  Each subsystem has a few business objects that they expose.  Higher level subsystems depend upon lower ones.  For example we have a core subsystem that exposes basic business objects like user, organization, address, etc.  It has its own mapping.xml file for those business objects.  The problem with this approach is that if you deploy a higher level subsystem that depends upon a lower level subsystem you end up copying the contents of the lower mapping.xml into the higher level.  So basically you get multiuple copies floating around which gets to be a pain....
 
It would be better if I could build a routine that fed castor a bucnh of different mapping files so I could keep them seperate from each other.  Does anybody know if this is possible?  (I'll admit that I haven't look at the documentation too extensively.  I'm being lazy and hoping somebody can give me a quick thumbs up or down before I spend too much time on it).
 
 
Thanks,
 
Gray Jones

Reply via email to