tags:

views:

32

answers:

1

Hi,

I want to make a solution where I can use XMPP chat clients connected to gtalk, resolving web services/REST calls meant for a LAN (behind firewall proxy etc) and transferring over to the other chat client on another different LAN (behind other firewall proxy etc).

I have narrowed down on Smack API, but being a newbie in XMPP and smack, i don't know is it possible or not with Smack?

Does smack provide for such a functionality? , tried Smack documentation but couldn't get.

Any other possible alternatives, suggestions too are most welcome.

Thanks in advance

Ashish

A: 

Start with XEP-72 for a hint at the style of protocol you should use. There are some good reasons to do this, including:

  • Firewall traversal (as noted)
  • Don't have to do a TCP connection as often, saving latency
  • Don't have to authenticate for each request, but can authenticate the stream
  • No need for a separate XML parser for each request, which means processing can be more efficient
Joe Hildebrand