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

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Oct 4 09:48:43 EDT 2007


Wouldn't writeReplace be equivalent?



  | 
  | public class YourServerClass implements SomeClass
  | {
  |     // java serialization will take of this replace for you?
  |     private Object writeReplace()
  |     {
  |             return YourClientClass somehow;
  |     }
  | }
  | 
  | public class YourClientClass implements SomeClass
  | {
  | }
  | 
  | 


Probably I didn't fully understand your requirements.

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

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



More information about the jboss-dev-forums mailing list