[JDEV] jabberwebclient

David Sutton jabber at dsutton.legend.uk.com
Fri Jan 10 19:02:37 CST 2003


Hi Dave,

  I think the issue they are trying to make is that they want a system
  that will work with both solutions like php and java. The reason this
  could become an issue is that in the case of flash and java, they may
  not be allowed to connect back to a daemon because of a firewall in
  the way - its the fun world of firewalls and NAT'ing again :)

Regards,

  David

On Fri, Jan 10, 2003 at 02:19:23PM -0500, David Yitzchak Cohen wrote:
> On Fri, Jan 10, 2003 at 04:12:25PM +0200, Adrian Rapa wrote:
> 
> > >> We will use JEP-0025: Jabber HTTP Polling in order to do it.
> > > Eeeek ... please don't use HTTP Polling if you don't have to.  It's not
> > > good.
> > i'll take a look at this, also i want to be jabber compliant as it posible.
> Jabber doesn't require HTTP polling ... standard TCP/IP streams work :-)
> 
> > >> I am thinking that the project has 2 parts:
> > > definitely two parts, IMHO, is the way to go
> > >> -- 1. Writing a server side jabber client that will conenct to jabber
> > >> server when a new use logs in, and stores the data received from jabber
> > >> server somewhere: in a file but it should exists database
> > >> implementations
> > >> too.
> > > Make the server-side Jabber client persistent, so the web server only
> > > sends the client commands.  The Jabber client can maintain normal
> > > (non-HTTP) connections to the Jabber servers in question.
> > i dont quite understood this... can u give me more explanations... maybe
> > an example
> Basically, the same thing that a couple of other guys proposed, is what
> I propose.  You have a Jabber client on the web server where the "user
> interface" is actually just a UNIX domain socket (and/or a TCP/IP port on
> localhost), and then have your PERL/PHP/ASP/Python/whatever CGI-compatible
> scripts connect to this jabber client every time the user wants to
> do something.  All the scripts have to do then is send queries ("user
> wants to start a chat with dave at dave.tj" or whatever) to the back-end
> jabber client and read responses ("create a new chat frame/window for
> a chat with dave at dave.tj so the user can start chatting"), which makes
> them extraordinarily simple.
> 
> Best of luck,
>  - Dave
> 
> 
> -- 
> Uncle Cosmo, why do they call this a word processor?
> It's simple, Skyler.  You've seen what food processors do to food, right?



-- 
David Sutton
Email: dsutton at legend.co.uk
Jabber: peregrine at legend.net.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20030110/f19d3bbc/attachment-0002.pgp>


More information about the JDev mailing list