JDJ has a great article on how to implement your own asynchronous beans if you are impatient about the arrival of EJB 2.0... source code included! http://www.sys-con.com/java/archives/0506/grant/ Gene -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Stefan Tilkov Sent: Thursday, July 20, 2000 9:32 AM To: [EMAIL PROTECTED] Subject: AW: Publishing messages from a SessionBean using a messaging service You can send messages, since you're just calling an ordinary Java API. To be able to subscribe to messages, you will have to a) wait for your EJB container vendor to implement the (not yet finalized) EJB 2.0 spec, which includes a new bean type (message driven bean) exactly for this purpose or b) implement you own solution, which is probably not that hard - you just need to write a Java application that subscribes to messages and passes them to your beans, acting as a standard bean client. ____________________________________________________________________ Stefan Tilkov -- stefan(dot)tilkov(at)innoq(dot)com -- www.innoQ.com > Von: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]]Im Auftrag von Ram Komarraju > Gesendet: Thursday, July 20, 2000 5:32 PM > An: [EMAIL PROTECTED] > Betreff: Publishing messages from a SessionBean using a messaging > service > > > Hi all, > > 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? > > 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. But, that I should > be able to > publish/send messages from within the methods of SessionBeans. > > Thanx for your help, > Ram. > > ================================================================== > ========= > 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". > > =========================================================================== 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". =========================================================================== 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".
