>From:    Ram Komarraju <[EMAIL PROTECTED]>
>Subject: Publishing messages from a SessionBean using a messaging service
..
>
>Can I publish/send messages using a messaging service such as TIBCO's Rendezvous
>(I am actually using Rendezvous version 5.x) from a SessionBean?
>

Yes, you can do this. The Rendezvous java classes need to be made available to
your server's JVM (much like you'd load a JDBC driver or other non-EJB
classes) - how to do this varies depending on what server you are running.

You may also need to modify the server's security policy, as Rendezous
needs to do socket i/o and load native libraries.

>
>My guess is that I cannot subscribe/receive messages from a messaging service
>with a callback in a SessionBean because messaging callbacks are asynchronous
>and will not be going through the container.

Correct, you can't do this directly, but you can have another Java process
accept TIB/Rendezvous subscriptions and have it call a SessionBean via RMI.
In some cases it may be possible to run this subscription code inside
the server's JVM (e.g. Weblogic and some other servers support installing
custom initialization code that runs at startup).

--Jon

-------------------------------------------------------------------
Jon Dart                               [EMAIL PROTECTED]
TIBCO Software Inc.              650-846-5099

===========================================================================
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".

Reply via email to