I don't think it is reasonable for an entitystore to access the store of an 
entity state. As stated previously by 
Rickard there is only one EntityStore per Module and so per EntityComposite. 
What the RMI store tries to do is to 
distribute/delegate the storage operation of the entities to the different 
entity stores of the entity composites. (But 
only for prepare, the other operations are performed with the default entity 
store thats injected (in this case a 
MemoryStore).

Perhaps just using a new (server side) uow to persist the states that were 
transferred via the wire would be enough?

If the objects originated from this remote store and their state is transferred 
back, its reasonable to argue that the 
currently injected store is responsible for persisting them.

Michael



_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to