[JDEV] Customizing Jabber server
Colin Madere
colin at vedalabs.com
Fri May 11 14:47:38 CDT 2001
When Matt says "connect with your service" it sounds simple, but it's only
so once you've figured out how services connect to Jabber. Look into how
you connect via 'base_accept', 'base_connect' and 'base_exec'. The first
two are socket connections and the third is a stdin/out type connection (I
believe).
You might do well to search the archives, docs and any example services out
there to figure this out.
-----Original Message-----
From: Matt Diez
Sent: Friday, May 11, 2001 12:00 PM
To: 'jdev at jabber.org'
Subject: RE: [JDEV] Customizing Jabber server
You can register external handlers for everything. Instead of
setting it up in an <xdb> section, just configure a <service>
entry, and give it a service name, connect with your service,
and I believe it should start picking up all requests, filter
out the ones that aren't <presence> and do what you will with
presence.
Matt Diez
-----Original Message-----
From: Gerard BUNEL [mailto:gerard.bunel at ago.fr]
Sent: Friday, May 11, 2001 2:38 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Customizing Jabber server
Big Thanks for this answer
I can't really use xdb_java as its purpose is to do some JDBC invocations.
But it's quite the same functionalities I was looking.
I didn't understand that it was possible do regsiter a foreign handler to
handle XDB requests.
Do you know if it's also possible for all type of requests ?
I'm, for example, interested in handling presence messages
Colin Madere a écrit :
Take a look at xdb_java, as John Hebert suggests. You should be able to add
your own modules to it to talk to the App Server for the services you
mention. (Or, at least that's what Matt told me the last time we met :) )
It is a budding project, but is constantly being improved and we plan to use
it on a large scale here, so be assured it is not intended to be a toy
project.
Colin Madere
Vedalabs, Inc.
> -----Original Message-----
> From: Gerard BUNEL [mailto:gerard.bunel at ago.fr]
> Sent: Wednesday, May 09, 2001 10:44 AM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Customizing Jabber server
>
>
>
>
> wasted a écrit :
>
> > we're working on similar types of issues and my take on it
> this... jabber
> > isn't an "application server" itself. it facilitates the routing of
> > messages to the appropriate destination - normally a human
> for chat. of
> > course the destination can be an "agent" or a transport with
> > business/application logic coded for a purpose which
> returns some data or
> > whatever. an "agent" could be a stock watcher, a "weather
> man", a news
> > grabber, data mine - the list is endless. you can write an
> "agent" in
> > almost any language with all the cool tools the dev guys have done -
> > Net::Jabber, JabberCOM, JabberBeans, etc... i'm partial to
> JabberBeans
> > 'cause we do a lot of Java programming. then again, as
> "JAM" develops,
> > jabber could become more "application server"-ish.
> >
> > not sure if that's the sorta explanation you're looking
> for, but i hope it
> > helps.
>
> I'm not trying to "application-server"-ish the jabber server.
> I just want to filter some parts of the jabber protocol so
> that information is provided by the application server
> instead of the Jabber server itself (by the mean of the
> default xdb_file).
> I think that for authentication, Rosters, vCard this can be
> obtained by bootstraping the xdb_file
> to delegate the requests to the application server (that we
> also develop, this is a specialized one, not a J2EE server).
>
> Our application server is Java based and we also have a look
> to JabberBeans.
> I've also pointed out the JAM effort on Jabber but, as I need
> such functionalities rather quickly
> (Pre-version for July) we focused our interest on Xml-Rpc and
> made some trials in embedding Xml-Rpc
> requests into the Jabber protocol. We did that successfully.
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
--
gerard.bunel at ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex -
France
Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
e-mail: atlantide-brest at ago.fr
Centre Affaires Oberthur - 74D, rue de Paris - 35700 Rennes - France
Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
e-mail: atlantide-rennes at ago.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20010511/7c81e0ea/attachment-0002.htm>
More information about the JDev
mailing list