PicoContainer is a lightweight and highly embeddable container for components that honour Dependency Injection.

Despite it being very compact in size (the core is ~100K and it has no mandatory dependencies outside the JDK),
PicoContainer supports different dependency injection types (both CDI and SDI) and offers totally customisable lifecycles.

PicoContainer has originally been implemented in Java but is also available for other platforms and
languages.

Journal Entries

No entries yet. Link your entries with 'picocontainer' to include this project.

Ohloh Analysis Summary

Updated 24 Jul 2008 18:23 UTC


Ratings & Reviews

Community Rating
5.0/5.0

Based on 4 user ratings.

Your Rating

Click to rate this project.

3 months ago Avatar
A sharp little embedded container.

  by Michael Rimov

Disclaimer: While I certainly wasn't a founder of PicoContainer, I am a project comitter these days.

PicoContainer is a little Dependency Injection library that could probably be best described as a micro-kernel with which to base the rest of your application framework.

It has a few philosophies that are hard to find elsewhere:

-They aren't great fans of XML. (Although it is not prohibited).

-The job that ... [More] PicoContainer does is a convenience.... in fact, in your unit tests, you should not use PicoContainer at all to achieve your goals.

This makes PicoContainer about the only non-invasive dependency injection container available.

Version 2.0 does provide some Annotation capabilities to provide some Google Guice-Like injections, but this method is hardly required.

It does have a couple of downsides for the beginner:

-Documentation, while improving constantly, is usually a little sparse.

-Because the framework is so completely flexible, you can often solve a particular problem five different ways.

While these make it a harder learning curve than other frameworks, to me, the time spent learning it is highly worthwhile. [Less]

Was this review helpful to you? |

Links

No links submitted so far. Submit your own links.


Who uses picocontainer?

Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32

Who contributes to picocontainer?

Anon32 Anon32 Anon32 Anon32 Anon32 Anon32 Anon32
I'm a contributor

Where in the world?




People who use picocontainer also use:

jMock 1 jMock 2 JRuby XStream dom4j: flexible XML framework for Java AspectJ ehcache Apache Velocity PMD HSQL Database Engine Checkstyle Groovy


Project Cost

This calculator estimates how much it would cost to hire a team to write this project from scratch. More »
Include
Codebase 49,220
Effort (est.) 12 Person Years
Avg. Salary $ year
$ 644,900