Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 87428 invoked from network); 29 May 2010 00:08:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 May 2010 00:08:53 -0000 Received: (qmail 15661 invoked by uid 500); 29 May 2010 00:08:53 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 15507 invoked by uid 500); 29 May 2010 00:08:52 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 15499 invoked by uid 99); 29 May 2010 00:08:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 May 2010 00:08:52 +0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [61.9.168.140] (HELO nskntmtas02p.mx.bigpond.com) (61.9.168.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 May 2010 00:08:45 +0000 Received: from nskntotgx01p.mx.bigpond.com ([61.9.223.241]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20100529000822.ZNAK1693.nskntmtas02p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com> for ; Sat, 29 May 2010 00:08:22 +0000 Received: from [10.1.1.2] (really [61.9.223.241]) by nskntotgx01p.mx.bigpond.com with ESMTP id <20100529000821.XTVR1945.nskntotgx01p.mx.bigpond.com@[10.1.1.2]> for ; Sat, 29 May 2010 00:08:21 +0000 Message-ID: <4C005A7B.2040707@zeus.net.au> Date: Sat, 29 May 2010 10:06:19 +1000 From: Peter Firmstone User-Agent: Thunderbird 2.0.0.14 (X11/20080531) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: River archetype References: <9C747759-C613-4DE7-ACD1-DC78A07F91BA@gmail.com> In-Reply-To: <9C747759-C613-4DE7-ACD1-DC78A07F91BA@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090201.4C005AF6.000F,ss=1,fgs=0 Gregg Wonderly wrote: > I think that there are a couple of issues around doing this. There are a handful of things which the deployer of the service will want to configure. The Configuration interface still seems viable to me and groovy config is a great thing to get into circulation it seems to me. > > What I'd like to suggest is that we create a large amount of security as a default detail. Configuration should provide the ability to turn it down/off. That way safe computing is the default. > +1 Peter. Good thinking Gregg. There are people who have expressed frustrated with the configuration system, rather than opening up constructors everywhere, introducing coupling, perhaps we could do something with Guice as well? So an application can configure itself without coupling? > I have some things in mind but have not got them fleshed out yet for real discussion. > > Gregg Wonderly > > Sent from my iPad > > On May 22, 2010, at 11:42 AM, Dennis Reedy wrote: > > >> I'd like to solicit some ideas into what would be the source and configuration content so a River archetype [1] can be created. This will allow developers to create a working River maven project in seconds. I know Chris Sterling developed one a few years back, but I think we can do this one a little differently. Some questions: >> >> Generate a simple service that just provides an empty interface, service impl and configuration? >> For configuration, use the Jini configuration approach or can we move forward with adopting the Groovy configuration provider? >> Generate a JavaSpace project? >> Should the Rio classdepandjar mojo be used to build the artifacts? In this way we can produce the service, dl and api artifacts right out of the gate. >> What to provide for testing the application? Does the River test framework make sense to include? >> >> Feedback would be great. >> >> Dennis >> >> [1] Info on Maven archetypes: >> >> http://maven.apache.org/guides/introduction/introduction-to-archetypes.html >> http://maven.apache.org/archetype/maven-archetype-plugin/ >> > >