I am using
JBOSS 4.0 and
EJB 3.0
I have used call back methods and I am getting results. But when I moved the call back methods from class to the call back listeners, nothing working.
Is there any bug in Call Back Listeners?
Here's the snippet from my bean...
...
...
@Stateful
@Remote(ListenerHelloCallBack.class)
@CallbackListener(CallBackListener.class)
public class ListenerHelloCallBackBean implements ListenerHelloCallBack {
public
String listenerHelloCallBack() {
System.out.println("listenerHelloCallBack()");
return "Hello, Call Back Listener World!";
}
..
..
Thanks,
Guru