Callbacks in EJB


EJB design: Callbacks in EJB

  1. Callbacks in EJB (2 messages)

    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

    Threaded Messages (2)

  2. Callbacks in EJB[ Go to top ]

    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.

  3. Callbacks in EJB[ Go to top ]

    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).