hi! | >Hi all, | >How is it possible to use Callback in EJB ? Of course I don't mean the callback | methods in SessionSynchronization interface ! | >I need a way that the beans on server side can contact to the clients. Actually | I need it to implement chat system by EJB (just for | >testing). When a new message is arrived to system, it should be possible to | send that message to other clients, too. | >Should the client implement the Remote interface and pass its reference to | server beans ? | >Any idea ? | | Yes. On the server side the bean can use a Vector to store the references of | all the clients and enumurate over them to notify any change of state. Won't it tie our EJB to RMI clients? I mean what happens if a COM or CORBA client is also using an EJB bean. Ara Abrahamian bi! =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
