Hi Alessio, My plan is to use this to wrap other Java frameworks to simplify their APIs. Internally, we started to use it to wrap Java libs as sets of resources accessible from Clojure and it simplifies things a lot.
I have some ideas about wrapping Swing that I will experiment this summer. If you have suggestions, they are welcomed. I saw DynaSpring but lacked the time to go trough it throughly. I will have more time in the next month to look at it deeper. Thanx, Luc P. On Wed, 4 May 2011 02:21:05 -0700 (PDT) Alessio Stalla <[email protected]> wrote: > On 4 Mag, 06:53, Luc Prefontaine <[email protected]> wrote: > > Hi, > > > > being tired of wandering through a few thousand lines of XML Spring > > bean definitions, I finally wrote a library to start moving away > > from Spring/XML. It's definitively nicer doing dependency > > injection/auto-wiring using Clojure. > > > > This is part of our global effort here to confine Java as much as > > possible to lower layers. > > > > Lacking imagination (or being lazy ?), I called it boing. The > > source code is available athttps://github.com/lprefontaine/Boing > > and the Wiki there describes its scope and capabilities. > > > > It's a 1.0 version. It should make it to prod beginning of this > > summer. > > > > The jar is on Clojars ([org.clojars.lprefontaine/boing "1.0"] in > > leiningen). > > > > It may be of interest to people having mixed environments and > > potentially to some using external Java libraries. It's much more > > dynamic than XML and significantly shorter. Look at the examples > > folder. > > > > Comments are welcomed. The TODO list is not yet published but we > > see a few things we want to add to it especially in the area of > > resource management and some optimizations. > > > > Code wise I think it's not too horrible given that I had to squeeze > > this in my already ultra-tight schedule in the last three weeks or > > so. > > That's really nice! I did something similar in Common Lisp, called > DynaSpring [1]. I think this kind of thing fits Lisp perfectly, and > it's nice to see an implementation of similar ideas in Clojure. > Perhaps we can mutually take inspiration from each other's projects > and, why not, even share some code and ideas. Right now I'm not > actively developing it because I'm no longer using Spring at work, but > still I like the concept and hope to use it on a real project sooner > or later. > > I wish you well for boing! > Alessio > > [1] code.google.com/p/dynaspring/ > -- Luc P. ================ The rabid Muppet -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
