click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A. (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-384) Add Picocontainer support!
Date Wed, 25 Mar 2009 17:44:55 GMT

    [ https://issues.apache.org/jira/browse/CLK-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689176#action_12689176
] 

Adrian A. commented on CLK-384:
-------------------------------

>> I think click-examples is the best showcase: instead of 5 constructor calls for those
services, Spring is
>> doing the "same job" with 1.4 MB of jars, much slower and much more obfuscated for
newbies than the
>> direct constructor calls.
>> Usually injection is not needed in most projects ...
> ... but people need to step up and provides some patches for this.
I would volunteer to clean up the click examples from Spring and make them simpler for new
users.
I think this is a separate task (I could make a separate JIRA issue for it if you agree with
the cleanup).

Besides there's a much more complete project using Click with Spring:
http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-spring-cayenne/
plus the documentation, so I don't think the Spring users will be disadvantaged.

Regarding Pico, well it looks like there some sort of "pico web" now:
http://picocontainer.org/web/news.html
 with bindings to various web frameworks. From those examples however, I couldn't find a simple
way to make a "net.sf.click.extras.pico.PicoClickServlet" :(.

Thank you,
A.

> Add Picocontainer support!
> --------------------------
>
>                 Key: CLK-384
>                 URL: https://issues.apache.org/jira/browse/CLK-384
>             Project: Click
>          Issue Type: New Feature
>          Components: extras
>    Affects Versions: 1.5 M1
>            Reporter: Gustav Weber
>            Assignee: Malcolm Edgar
>
> Add support for Picocontainer:
> http://picocontainer.org/
> Right now there's support only for Spring, but Spring is everything but "lightweight":
for many small projects that need just to inject a few beans/services, Spring is the total
overkill.
> PicoContainer is very small and effective for what it was ment. Even big applications
like IntelliJ IDE or JIRA are using it:
> http://tw-oss.blogspot.com/2008/05/picocontainer-22-released.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message