Hello,
I've couple of questions regarding EJB and JMS Integration. I read an article about
EJB and JMS, which says
"EJBs are not allowed to create threads, so it can't create a thread to call
QueueReceiver.receive() to receive the messages from JMS".
1. If my EnterpriseBean doesn't want to receive any messages from JMS and interested
in only putting the messages to the JMS, can I use JMS ?
The same article also mentioned "EJB app servers are not integrated (I know some of
the EJB app servers are integrated with JMS. But I'd like to know the issues if an
app server is not integrated), JMS can't invoke the onMessage callback of EJBs within
the EJBContainer
2. If my EnterpriseBean is not interested in notifications from JMS what other
problems I'll have?
Suppose if I'm using an EJB app server that is integrated with JMS, if I add a message
from an EnterpriseBean to JMS within a Transactional context, how the transactional
integrity is preserved as the message is added from the EnterpriseBean's
transactional context to the JMS?
I'm trying to understand the issues behind creating threads, using JMS from an
EnterpriseBean. Any pointers on the net will help me a lot.
Thanks for your Time
-Mani
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".