Hi,
How can I implement an Observer/Observable
Pattern with
EJB technology.
I intend to have a server component
which holds the system's state for alle the clients who subscribe
for this state (One state for all client). The server component has to notify all clients if the system state changes.
Which technology is prefered to do this?
A SFSB does not seem to be the right one because it can
only hold one client's state.
A SLSB is not the right choise because it does not provide any state at all ..
The only one remaining is an entity bean but that means having the state
saved in a RDBMS ..
What if I don't want to save the system's state in a RDBMS?
Is there any other way for implementing a server component
which can be refered by many clients and provide them the same state?
thanks for your advise ..
Alireza