How can I create a callback in the EJB such that
my fucntion is called by the EJB and the implementation of that function is done by the client. Please do NOT tell me that make my client an RMI Server
-
Callbacks in EJB (2 messages)
- Posted by: Faisal Masood
- Posted on: July 11 2000 14:17 EDT
Threaded Messages (2)
- Callbacks in EJB by Kumar Mettu on July 11 2000 18:16 EDT
- Callbacks in EJB by Gene Florintsev on July 12 2000 19:36 EDT
-
Callbacks in EJB[ Go to top ]
- Posted by: Kumar Mettu
- Posted on: July 11 2000 18:16 EDT
- in response to Faisal Masood
If you don't want RMI way other possible soultions I can think of:
1) If your server is a corba based implementation. this should be possible by passing a corba object as arguement.
2) May be better of doing it is using JMS.
Regards,
Mettu. -
Callbacks in EJB[ Go to top ]
- Posted by: Gene Florintsev
- Posted on: July 12 2000 19:36 EDT
- in response to Faisal Masood
Well, you do have to have some sort of communication between the client and the server. If it is not RMI, then it should be JMS. JMS is, in my opinion, the best option, because it lets you handle the callback asynchronously, as well as handle it in more than one place (publish-subscribe).