W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

Re: Adding a service to Jigsaw

From: Niklas Wiberg <e95_nwi@it.kth.se>
Date: Thu, 17 Aug 2000 10:18:36 +0200
To: Yves Lafon <ylafon@w3.org>
Cc: www-jigsaw@w3.org
Message-ID: <399B9FDC.55C9676F@it.kth.se>
Thank you for your reply,
Since performance is crucial, I'd like to ask which approach that would
perform best, if there is any difference.
I also forgot to mention that I use Jigsaw as a proxy server.

Best regards,
Niklas Wiberg

Yves Lafon wrote:
> 
> On Mon, 14 Aug 2000, Niklas Wiberg wrote:
> 
> > Hi all,
> > Currently, I have a separate Java program that provides sort of a lookup
> > service, callable by RMI.
> > The idea is to have a modified (subclassed from) CommonLogger in Jigsaw
> > call this service so as to be able to log additional information, looked
> > up from the client IP address. However, I just got the idea that it
> > would be nice to eliminate the RMI calls and make everything one
> > application (Jigsaw). Currently it's two applications + rmiregistry...
> > My first question is: What would be the best way to incorporate such a
> > service into Jigsaw?
> 
> The best would be a filer, like the LogFilter (org.w3c.jigsaw.filter.LogFilter)
> You only need the outgoingFilter there and it won't modify the reply.
> By making it a filter and not a logger, you avoid the properties handling,
> which is more painful that defining some attributes in the filter.
> 
> Note that you can make different "loggers" that way, and attach one to
> each virtual host you may have and generate specific log files.
> Can it fit your needs?
> Regards,
> 
>       /\          - Yves Lafon - World Wide Web Consortium -
>   /\ /  \        Architecture Domain - Jigsaw Activity Leader
>  /  \    \/\
> /    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org
Received on Thursday, 17 August 2000 04:15:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT