Feb 12th, 2008, 06:08 AM
Publish remote events
I am using acegi in my web tier but also to authenicate users from a swing app (over https - spring remoting). I would like to be to use the spring event model (ApplicationListener interface) to keep all remote clients informed of application events. This might be to update client side caches or that the database is down etc. I am using dwr (ajax/jaavscript framework) to service my web clients and this supports client call backs. Does the spring remoting stuff support something similar via the ApplicationListener interface?
I think that I may have to go for something other than spring remoting as if there is no ability for client call back I may have to use mule/jetty to keep a channel open - can someone point me in the right direction or shoot me down ? -)
Feb 12th, 2008, 06:18 AM
I dont have specific experience, but you can always use the Spring / RMI remoting solution. As always with RMI, be careful to specify the service boundaries well to avoid too much traffic ...