Hi,

I am developing a stock market platform. I am writing Stock entries to 
javaspace and generating events. The event is notified in EventListener. 

Now I want to get the entry written to the space for which the event is 
generated and send the entry data to Servlet response. For servlet response I 
am already passing the HttpResponse object to the EventListener class and is 
available in notify() method.

Questions are as follows:

1) How can i retrieve the written entry from remote event in notify() method of 
the listener?
2) How can i make sure that the next event will call notify after the previous 
event data is send to the Servlet response? I tried using flush but invain.
3) How can i filter remote events?

Any help will be appreciated. Thanks in advance.

Reply via email to