-
1. Re: java event model applied to EJB and client
vashistvishal Sep 25, 2003 5:42 AM (in response to malatorr)First of All i'm not sure why would you do that, If you want to do something like that then there are well known patterns for diferent scenarios.
Have a look at the MVC pattern.
Where Model is data coming from EJBS, servlets are acting as listeners and JSP/HtML pages are view.
Also in bigger application if you are using session facade pattern (stateless session bean) acts as a listener as well.
If you want to look at these patterns we have implemented them in our recently published tutorial.
www.tusc.com.au/tutorial/html/index.html
MVC in chapter 8.
Session Facade, chapter 5, 6, 7.
Vishal. -
2. Re: java event model applied to EJB and client
malatorr Sep 25, 2003 1:56 PM (in response to malatorr)I have too many frame clients (awt) running on several machines and all I want is use beans to let the java events get any client.
So all clients are updated about any change.
I don't have servlets or web. Just standalone clients that reports events to a ejb, and the ejb must notify the rest about these events.
I was reading about connectors and notifications. Can this technology help me?
Mariano