[jboss-dev-forums] [Design of POJO Server] - Re: ManagedOperation aspects for the ProfileService.Manageme

alesj do-not-reply at jboss.com
Wed Oct 3 17:05:12 EDT 2007


Regarding ManagedOperations (MOps).
How can we be sure that the MOps proxy change will take place?
Otherwise client will simply get plain ManagedOperationImpl serialized over.

This is what I questioned myself when trying to correctly impl ManagedPropertys. 
Since WritethroughManagedPropertyImpl is exactly what we need on the server side, but we definitely don't want to push/serialize this to the client.
But if I change this similar to MOps, then the server side also sticks with simplified version.

Is there a way/mechanism to serialize something else to the client - other that hacky writeObject that would return not the class instance on which this is implemented.

Or should we transform every server side impl to client side impl on every client call/demand for MObjects, MComponents, ... ?

Or if we eventually used WrapperAdvice for MProps/Fields on server side, how to efficiently change this for the client?

I hope you understand what I'm rambling about. :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091240#4091240

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091240



More information about the jboss-dev-forums mailing list