This patch adds Jetty 7 dependency (in pom.xml) and implements a basic connector for Vysper that uses Jetty to respond to BOSH clients with a simple response.
This only implements the initial response from Vysper connection manager, it does not go further.
The implementation is very basic, it does not use nbxml parser. It needs to be updated to use the XML parser.
For testing I used Strophe.js client (the code for testing is included).
Because of off-line browser security restrictions you need to set-up apache or some other HTTP server to serve the client files.
The client test uses flXHR Flash library to circumvent XHR restrictions on connecting on a different domain, so this will not be a concern.
When connecting I set-up to connect to the <vysper.org> domain name (in hello.js), which isn't registered, and you need to modify /etc/hosts (or on windows windows\system32\drivers\etc\hosts)
to have an entry "127.0.0.1 vysper.org" so that vysper will be resolved to the loop-back address.
In the client there will be no graphical notification as the server doesn't do much for now. There will be logs in Vysper only.
I am interested in developing this as part of the GSoC. How can I contact the mentor for this project for further information?
Thank you.