[EJB 3.0] - Registering Listeners
by JEFFASTOREY
Hi -
I'm trying to register a listener with an EJB bean and I'm not really sure how to do it. Before I switched to EJB, I used to be able to do as follows:
myBean.registerListener(myListener);
And myListener would have methods such as:
myActionPerformed() {}
which would be invoked when myBean performs a specific event. However, now that I've switched to EJB3 (away from JINI), I cannot seem to do that since the bean cannot resolve the type of the listener - does this make sense?
I've been reading about using the CallbackListener annotation, but I can't seem to translate it correctly.
If anyone has any advice on this topic, could you please help?
Thanks,
Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976977#3976977
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976977
19 years, 7 months
[JBoss jBPM] - Re: jBPM BPEL: Process Performance and Workload ?
by bertrand.njiipwo
Hallo community, hi Alex,
i'm back once again. First thanks a lot for your contribuation and explainations. Its help a lot.
Now i still have questions about the implementation details of the jBPM BPEL extention. May be you or someone else in the forum can help me answering this important question.
So what i need to know concerns the number off process instances running on a BPEL Engines in generall and particulary the jBPM engine:
1) - Is there always one process instance running on a bpel engine (generally) when client requests are being processed? This means if i have k-client requests only one process instance processes all incomming requests for those clients or this fact depends on the implementation details of each bpel engine
2) - how this fact is implemented in the jBPM engine? Is there only one process instance processing all client requests or the jPBM engine can have more instances of a BPEL process processing incomming requests.
Please is there some one who can help me answering the above questions. Any documentation or engine Source code reference will help a lot in my investigation.
Thanks in advance once again.
Best regards
Bertrand
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976976#3976976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976976
19 years, 7 months