Re: Using JMS with non MessageDrivenBean.
sriharirao Bh <[email protected]> Tue, 9 Apr 2002 01:31:21 -0700 (PDT)
| Newsgroups | gmane.comp.java.ejb.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Pl visit java.sun.com/products/jms and download latest jms tutorial in pdf.There u can find An entitybean sending jms messages to client.Client should implement message listner and retrieves the information. I have included the src code in zip in ur mail. cheers Sriharirao --- "vng.rm" <[email protected]> wrote: > Hi, > > I'm pretty new to JMS and this group so not sure if > this is the > right forum but please redirect me if it's not. > > Anyway here goes: > Can an EJB (not MessageDrivenBean) simply creates > standard JMS > objects i.e. Topic, TopicConnectionFactory, etc. and > publish > messages to the client (a GUI Subscriber)? > Essentially what I'm > trying to achieve is to have the EJB "callback" the > GUI client. > However, the client never seems to receive any > messages even after > I called the start() methods on the TopicConnection. > > Can anyone tell me if it is possible to do this? So > far I have not > seen any sample code where the EJB sends messages to > client. It is > always EJB sends to a MessageDrivenBean or a Client > sends messages > to a MessageDrivenBean. > > thanks! > > > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/