Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 20087 invoked from network); 8 Nov 2006 19:43:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 19:43:41 -0000 Received: (qmail 49467 invoked by uid 500); 8 Nov 2006 19:43:49 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 49422 invoked by uid 500); 8 Nov 2006 19:43:48 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 49411 invoked by uid 99); 8 Nov 2006 19:43:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 11:43:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of simon.willnauer@googlemail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 11:43:34 -0800 Received: by ug-out-1314.google.com with SMTP id k40so4720ugc for ; Wed, 08 Nov 2006 11:43:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hZe8qohLY334RhaWfPfgbB15lfUPPsmLsHL4wDDeQqd/m582K4YJic3Jk/Ertj3WYiAm3MogcbhOBaflEpoCzss3hXY1JvzP8BUO9EklBk/DthTMkjobVUP1/y3BXz3l/29ohKdpVcq/Khne17hcEmKyy1Exm6AU1p/79TuiKq0= Received: by 10.67.100.17 with SMTP id c17mr11519045ugm.1163014992429; Wed, 08 Nov 2006 11:43:12 -0800 (PST) Received: by 10.67.22.3 with HTTP; Wed, 8 Nov 2006 11:43:12 -0800 (PST) Message-ID: Date: Wed, 8 Nov 2006 20:43:12 +0100 From: "Simon Willnauer" Reply-To: simon.willnauer@gmail.com To: java-dev@lucene.apache.org Subject: Re: ThirdParty Jars in GData In-Reply-To: <20061108190520.18823.qmail@web50311.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061108190520.18823.qmail@web50311.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Sure I can and I will :) The main reason why this refactoring takes place is that currently there are heaps of "hard" dependencies created by the "service" model gdata-server uses. Services are accessed by calling a registry similar to JNDI without a a container. The services are configurable like a lot classes inside the server. It gives me, and it would do to other developers as well, a hard time to implement test cases because the registry is needed and wired to tight into the server. That's why I evaluated some IoC DI container like spring, hivemind, pico and Felix (Apache OSGi). Hivemind felt good to me due to some reasons (some more on this later @siren I will send a separate email on this topic). So on the todo list are some other things like webservice integration for admin actions and exposing Services and monitoring data to JMX . Hivemind offers a very nice JMX integration which is plugable and with hive-utils comes a ready to use damned fast hessian webservice impl. which I used for another project. No wsdl / wsdd overhead, no descriptors just an Infterface and your ws is ready to go. Client API's for almost every lanugages (python ruby php java c#...) which enables users to integrate admin func. in their application which could be a pain with axis as I experienced. Further on is a lot of configuration needed for some services which is currently handled by commons digester which is alright but hard to test and hivemind offers easy way to define default configurations and let users override these in top level descriptors. Another reason is that my professor granted me exemption from university courses to work on GData which gives me the possibility to do such a comprehensive refactoring. After all this will improve test / software quality reuseablity and gives me a lot of tools to offer nice administration access without reinventing the wheel. best regards Simon On 11/8/06, Otis Gospodnetic wrote: > Simon, > > Before starting work on all this, could you please share some of your plans with us? For example, I'm curious why Hivemind is needed. > > Thanks, > Otis > > ----- Original Message ---- > From: Simon Willnauer > To: java-dev@lucene.apache.org > Sent: Wednesday, November 8, 2006 6:36:31 AM > Subject: ThirdParty Jars in GData > > Hi all, > I just started to work on the todo list @ GData Server to add Admin > Interface and some major refactoring. GData server will be based on > the Apache Hivemind Microkernel and will make extensive use of these > libs including hive-utils and the hessian webservice integration > (caucho.com). Even apache hivemind includes a couple of third - party > jars like javaassist.jar which is also distributed in the release. So > I'm a bit curious about the fact that non ASF - licenced jars are > included in asf products. > In the end there will be a couple of jars I need for the GData server > at least at runtime. ASF Jars like hivemind core and libs won't be a > problem inside the svn repos. But whats the best way to get the other > jars. I had a look at the hivemind build file, they defined a macro to > fetch the jars from http://www.ibiblio.org/. This seems to be a nice > solution to fetch these jars via a simple ant get task. > > > Any other ideas / suggestions? > > regards simon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org