At this point I have no particular use case. We are solely a Spring shop
where we build Spring web apps and we use Groovy beans (using dynamic lang
support in Spring) for some stuff like MVC controllers, XML parsing, etc. I
thought that it would be interesting to incorporate some Clojure beans for
some tasks (perhaps some concurrent processing tasks, etc.) Does it even
make saense?

Anyway, if someone would come up with a way to integrate Clojure code into
Spring ApplicationContext and show the example, that would be interesting.

Best regards,
Dmitriy.

2009/6/3 Luc Prefontaine <lprefonta...@softaddicts.ca>

>  We did the reverse (using Spring directly from Clojure) without any
> difficulty.
> Never thought about creating Clojure beans however.
>
> We had already some code to bootstrap Spring from Java.
> Just called it from Clojure.
>
> We wanted to drop Java as much as possible but did not want to loose some
> of the low level
> stuff we wrote in Java.
>
> Being curious, can you shed any light of the use you would make of Clojure
> beans ?
>
> Luc P.
>
> On Wed, 2009-06-03 at 09:02 -0700, Dmitriy Kopylenko wrote:
>
> Hello.
>
> I'm just wondering is there a way to create Clojure beans and inject
> them into other Spring beans (given that Clojure code implements Java
> interface) inside Spring ApplicationContext, similar to other dynamic
> langs support:
> http://static.springframework.org/spring/docs/2.5.x/reference/dynamic-language.html
>
> ?
>
> Thanks,
> Dmitriy.
>
>
>
>
>   Luc Préfontaine
>
> Armageddon was yesterday, today we have a real problem...
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to