From: "Michael" <[EMAIL PROTECTED]>
> I'd like to use Messenger to send & receive messengers in a standalone
> app.

Thats fine. The Messenger API is totally servlet independent and can be
happily used from the command line to send & receive messages.

> From browing the javadocs it seems closely tied to the servlet
> engine.  Is it possible to use it standalone?

Yes.

> Are there any examples
> for this?  If anyone has done it please let me know.


There's some Ant tasks which can be used inside of Ant which can send and
receive messages (in the *.messenger.task package).
Also there's 3 command line tools in the *.messenger.tool package which can
send, recieve and do JMS based RPCs via the Caller program.

The only thing which is Servlet dependent is the 'Messagelet Engine' which
is a seperate lightweight JMS container for consuming messages from inside a
Servlet Container via MessageListeners, Message Driven Objects (a
lightweight, non-EJB implementation of MDBs) or even Servlets, JSP, Velocity
or Jelly.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to