Fellow researchers,
Being inspired by the simplicity and elegance of embedding Jetty[1], I
had something similar in mind for Vysper.
And it works. There are two different approaches, a pure and a
Spring-based one.
* Spring based *
If you want to integrate with a Spring application, you just need to
pull in the spring-config.xml provided with Vysper using an import in
your existing own bean definition, like this:
<import resource="spring-config.xml" />
The server is booted automatically then.
Of course, the libs and class files must be available to the application.
* Pure *
This needs a little bit more work. Every jar from lib/ needs to be on
the classpath, except for spring*.jar and smack*.jar.
Then, its only a matter of initialization. This is already documented at
[2].
Please let me know if this works for you.
Bernd
[1] http://docs.codehaus.org/display/JETTY/Embedding+Jetty
[2]
http://cwiki.apache.org/confluence/display/labs/vysper-Embed+into+another+application
---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org