on 01-23-2007 11:22 AM
Do we need two separate session beans for handling two message driven beans ?
If not, will same connectionfactories, queues/topics suffice for both of them?
Hi,
Session beans do not directly "handle" or call message-driven beans. Instead, they can send messages to some JMS destination (Queue or Topic) where MDBs can be registered as listeners.
That being said, there is no relation between the number of session beans and MDBs, neither is it important if the session bean is stateless or stateful (or is it a session bean at all).
Please see my replies in thread.
Hope that clarifies it a bit!
-Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As long as the session bean is stateless, you can use the same for both.
Thanks,
Rajit Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.