Hi guys,

First of all, hats off for the great job with Aries. I have recently come
across the project and have found it very interesting.

I am playing with the Aries Trader application and have a question
regarding the JPA entities. I realized all the implementations for JPA
entities in the Trader application are put together under an "entities"
bundle along with the persistence.xml file. Would there be a way to
separate these entities from one another and place them into separate
bundles? I did the separation for the code units but I am not sure if
persistence.xml can be modified or replicated so that I can define separate
metadata for each of the entities and then make it recognizable to the JPA
container.

If you wonder why I need this, I am trying to use something like Apache CXF
to separate the bean entities and distribute them (along with their DB
tables) across multiple machines, for which I need the bean entities to be
placed into separate modules.

Would be great if someone could shed some light on the feasibility of what
I am trying to do.

thanks,
-Nima

-- 
http://nima.magic.ubc.ca

Reply via email to