> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Singh, Harvinder (CORP, GEITC)
> Can anybody help me with this.
> I want to make a synchronous call to a Message Driven Bean (that is somehow
> call the onMessage() method directly from a client)
> 1) Can I do that (I am of the opinion that it won't be possible since MDB's
> don't have a remote and home interfaces ....)
No.
> 2) If not then how can I make a synchronous call to a MDB (Since there are a
> couple of events happening that cause the App server to call this MDB and
> then a couple of actions take place .... so I want to debug the entire thing
> so I need to make a call to MDB directly--- primarily for debugging using
> VisualCafe)
You can't.
I suggest the following pattern: have your MDB (A) call a Session Bean (B) and
do your business logic in B.
If you need to make a synchronous call, call B directly.
--
Cedric
===========================================================================
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".