Is it possible for a client to send an event to an RMI object, and vice versa?

Gabriel Artaud

Yes if your event extends EventObject which is serializable

Be sure to define non-serializable properties of your new event as transient (note that doing so you won't be able to send them thru RMI)

You can also include remote references in your event (ie references to UnicastRemoteObjects)

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact