PicoContainer

PicoContainer is a highly embeddable full service Inversion of Control (IoC) container.
Download

PicoContainer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Paul Hammant
  • Publisher web site:
  • http://picocontainer.org/

PicoContainer Tags


PicoContainer Description

PicoContainer is a highly embeddable full service Inversion of Control (IoC) container. PicoContainer is a highly embeddable full service Inversion of Control (IoC) container for components honor the Dependency Injection pattern. The development started in 2003 and pioneered Constructor Injection auto-wiring.You could use it as a lightweight alternative to Sun's J2EE patterns for web applications or general solutions.What is Dependency Injection? Martin Fowler has a good article from 2003, but here is another view: It is a good design pattern that, for large enterprise applications, facilitates:· easy best practice unit testing vs little and difficult unit testing.· component reuse vs rewriting through ignorance or need· centralized configuration vs components reading their own config (scattered)· clean & declarative architecture vs a nest of singletons that nobody can make sense of· maintainability vs developers having difficulties fixing bugs· adaptability vs developers not knowing where to start to add featuresDependency Injection is quite often, but not exclusively, used by Agile practitioners. It counters the situation where the enterprise application:· has grown to be thousands of classes, with dozens if not hundreds of Singletons· draws similarities to Spaghetti, Hairballs or Balls of Mud· has made development staff looking after it miserable· suffers repeated allegations of being unable to be developed without complete rewriteDespite it being very compact in size (the core is ~224K and it has no mandatory dependencies outside the JDK), PicoContainer supports different dependency injection types (Constructor, Setter, Annotated Field / Method) and offers multiple lifecycle and monitoring strategies.PicoContainer has originally been implemented in Java but is also available for other platforms and languages. Requirements: · Java Runtime Environment (JRE) 1.5 or later · Paranamer 1.0 RC 1 (recommended) What's New in This Release: New (since 2.8): · Reinjection calls can use cached results for method invocations Changes (versus 2.8): · Constructor Injection is slightly faster for second/subsequent injections and for multi-constructor components · Compatibility with Google's AppEngine · Paranamer upgraded to 1.5 · A couple of bugs fixed PICO-352 and 353


PicoContainer Related Software