Hi,

What you need has been done before already, which should be good news.
However, for Vysper, this requires some adaption work.

re 1): XMPP specifies its own application layer protocol (on TCP(IP)
and is not using HTTP. So it won't work in a browser out-of-the-box.
However, there is a carefully crafted protocol to come around the
defiencies of HTTP for transporting XMPP (or any other content
really). It's called BOSH (http://xmpp.org/extensions/xep-0124.html).
So, in the browser, a AJAX library (typically Strophe, see
http://strophe.im/strophejs/) acts as a XMPP client, sending XMPP
messages over BOSH (using HTTP) to a BOSH endpoint which is connected
to a XMPP server (Vysper).

I've worked extensively on making Vysper work over BOSH (in TRUNK, not
yet released). HTTP is in no way working good enough for the kind of
communication you need in today's bidirectional web applications. So
BOSH and Vysper's BOSH implementation is working around these issues
as good as possible.

Today, there is also the Websocket protocol. I'd highly recommend
using Websocket instead of BOSH/HTTP as a transport for XMPP. The
caveats are that not all browsers support Websocket and Vysper is not
providing an implementation of Websocket.

re 2): You need to implement Java interfaces UserAuthentication and
AccountManagement. See for the existing implementations to get a
glimpse of it.

Those are first hints. You may want to come back and follow up with
more questions.

  Bernd

On Thu, Jul 31, 2014 at 11:53 AM, Shamanth Kumar
<[email protected]> wrote:
> Dear Team
>
> We have requirement to implement quickly a chat functionality among users
> in our web application.So i thought Apache MINA project suits to fulfill
> our requirement. I feel "About.txt" in the <<mina-vysper-c34c344.tar.gz>>
> do not have enough information to work on. So i am writing you.
>
> Our requirements in chat application is to just like gmail chat with our
> own GUI(chat window). In that GUI users needs to list in categorized manner
> in the same window(managers list, team lead list, users list). As per as i
> know only one list displayed in general chat window like gmail.
> In our app  needs to filter all category users based on some parameter
> search(Ex: domain name which they belongs to).
>  My understanding is to, for this we need to store user role information
> and domain information along with user name and password in user login
> table in which the XMPP server refers to authenticate the users.
>
> Please help me 1) how i can integrate my custom GUI to vysper project.
> 2) How to point XMPP server to our database for authenticate users and get
> the users list for display status.
>
> --
>
>
>
>
> *Best RegardsShamanth KumarPh no: +919964198028Skype: shamanth.kmr*

Reply via email to