java - rmi callback gotchas? -



java - rmi callback gotchas? -

what need worry when doing callbacks in rmi? need simple client notification mechanism avoid excessive polling.

i found online example , looks pretty straightforward, client implements interface extends remote (like server does) , passes server, can phone call methods. i'm guessing remote callback can occur on thread, have assume asynchronous client application's normal threads. else there?

two things.

rmi callbacks won't work through firewalls

rmi callbacks execute on different thread original client phone call server. can unexpected synchronization deadlocks if don't take account.

java rmi

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -