Hi all,
I am trying to implement Request/Reply functionality from a session
bean ( SL of SF ) with the following functionality and would appreciate ur
feedback very much...
Based on some business rules and data ( that the SB maintains ) the
call could be synchronous / asynchronous ( In other words time taking or
near real time ) . What are design alternatives if in either case I need
the reply back . Morover in the future this one message could lead to a
whole conversation ( of messages ) based on business rules.
For ex : If I use MessageConsumer.receive() inside my SB ( stateful )
what would happen if the Container decides to passivate the instance...
or on the same lines
If my SLSB in a transaction calls MessageConsumer.receive() with
a timeout that is greater than the transaction timeout, will the container
timeout the bean...
or
I could use a MDB for the reply, but how would I associate the
MDB to the SB
Thanks much in advance
Vaidya
===========================================================================
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".