Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 66583 invoked from network); 3 Jul 2007 15:41:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 15:41:58 -0000 Received: (qmail 54964 invoked by uid 500); 3 Jul 2007 15:41:57 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 54904 invoked by uid 500); 3 Jul 2007 15:41:57 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 54893 invoked by uid 99); 3 Jul 2007 15:41:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 08:41:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 08:41:53 -0700 Received: (qmail 31915 invoked from network); 3 Jul 2007 10:36:57 -0500 Received: from 72-19-171-38.static.mesanetworks.net (HELO ?192.168.4.101?) (72.19.171.38) by halosg.com with SMTP; 3 Jul 2007 10:36:57 -0500 Message-ID: <468A6E26.7020401@hanik.com> Date: Tue, 03 Jul 2007 09:41:26 -0600 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Tomcat Developers List Subject: Tomcat Bayeux Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org yo all, I've started a Bayeux implementation for Tomcat in sandbox. There were some interested in helping out, feel free to dig in. I'm building this one against the trunk Comet API. steps to get started 1. svn co http://svn.apache.org/repos/asf/tomcat/sandbox/bayeux 2. cd bayeux/build 3. ant download creates a directory called "dependencies" under the root directory, only two libraries are used at this time. a) The Bayeux API, currently hosted with Jetty until we find a common home b) StringTree JSON parser, a tiny library for JSON parsing Roadmap: a) Extend StringTree JSON Parser Currently the JSON parser works against strings, this means that our Bayeux servlet would need to keep track and separate out JSON requests, hence the parsing would be done twice. I'm planning on extending this parser to support InputStream for reading and OutputStream for writing this way, we can plug it directly into the API, and only parse once b) BayeuxServlet implements CometProcessor This is the servlet that will handle the Comet events and dispatch them accordingly with the Bayeux stuff. Pretty straight forward, the latest document on Bayeux can be found at: http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html Filip --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org