RE: Groovy + JXTA
"Goetzmann Bertrand" <[email protected]> Tue, 19 Dec 2006 16:56:31 +0100
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
I agree with you Guillaume! Recently I've worked with some Groovy's libraries (for a prototype using = an Enterprise Service Bus) that simplify greatly SQL and XML = manipulations. The same thing can be done with JXTA! Bertrand Goetzmann. -----Message d'origine----- De=A0: Guillaume Laforge [mailto:[email protected]]=20 Envoy=E9=A0: mardi 19 d=E9cembre 2006 14:16 =C0=A0: [email protected] Objet=A0: Re: [JXTA user] Groovy + JXTA In fact, it wouldn't have to be a "port" of JXTA in Groovy, but the idea could be to provide a thin layer on top of the JXTA apis that would add some more "grooviness" to them :-) On 12/19/06, Walter Barnes <[email protected]> wrote: > I think it would be great to have a Groovy port of JXTA. I'm new to = both JXTA and Groovy and have been working on creating a JXTA app using = Groovy. So far the results are more Java than Groovy but I'm getting = there :-) > > ----- Original Message ---- > From: Guillaume Laforge <[email protected]> > To: [email protected] > Sent: Monday, December 18, 2006 4:35:58 PM > Subject: [JXTA user] Groovy + JXTA > > > Hello, > > I'm working on the Groovy project, the dynamic language for the JVM. > For one of my customers, I was investigating the JXTA technology. > And I was wondering whether there could be some ways to make JXTA more = Groovy. > > For instance, it could be nice to use the configurator that way: > > def conf =3D new NetworkConfigurator().configure { > home =3D new File(jxtaHome) > peerId =3D "..." > name =3D "my name" > multicast =3D false > // etc... > } > > We could also use Groovy's coercion mechanism to transform closures > into rendezvous listeners in a single line: > > def listener =3D { RendezvousEvent evt -> println evt.toString() } as > RendezvousListener > > It'd be nice to have some easy ways for creating peer groups, pipes or > other JXTA artifacts. > I feel that JXTA is quite complicated to master and understand, and > that some Groovy basic layer above raw JXTA libraries could help > foster the adoption of JXTA for building simple P2P applications -- > while still being able to fine-tune more complex applications with the > raw power and capabilities of JXTA. > > What do you think? > > Guillaume > > PS: I'm really just thinking aloud, and I'm neither an exeprt of JXTA, > not able to implement those ideas as I'm a total JXTA newbie > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --=20 Guillaume Laforge Groovy Project Manager http://glaforge.free.fr/blog/groovy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]