[
https://issues.apache.org/jira/browse/VYSPER-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bogdan Pistol updated VYSPER-189:
---------------------------------
Attachment: vysper_0.1.patch.tar.gz
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.
> GSoC: Implement WebSockets/BOSH for XMPP AJAX clients
> ------------------------------------------------------
>
> Key: VYSPER-189
> URL: https://issues.apache.org/jira/browse/VYSPER-189
> Project: VYSPER
> Issue Type: Task
> Components: extension
> Reporter: Niklas Gustavsson
> Assignee: Niklas Gustavsson
> Attachments: bosh.patch, vysper_0.1.patch.tar.gz
>
>
> Apache Vysper is a modular, Java based XMPP/Jabber server. This project aims
> at developing a Vysper extension that enables AJAX clients to be a XMPP
> client, for example making it simple to expose IM/chat functionality in web
> apps.
> BOSH (XEP-124, XEP-206) defines a protocol where XMPP/Jabber can be used by
> AJAX clients. Also, with the development of WebSockets within the HTML5 work,
> WebSockets could be used as a way for browsers to communicate with Apache
> Vysper. This project could use either (or both) these protocols.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.