Using JMS with non MessageDrivenBean.

"vng.rm" <[email protected]> Tue, 09 Apr 2002 04:59:20 -0000
Newsgroups gmane.comp.java.ejb.general
Message-ID <[email protected]>
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!