PicoContainer(Java)
PicoContainer
PicoContainer is a lightweight and highly embeddable container for components that honour Dependency Injection.
See PicoContainer Overview for an introduction to PicoContainer.
Want something easier to get you started? Have a look at our Tutorials.
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.
NanoContainer builds on top of PicoContainer the support for several scripting meta-languages (XML, Groovy,
Bsh, Jython and Rhyno), AOP, Web frameworks (Struts and WebWork), Persistence (Hibernate) SOAP, JMX, and much more.
PicoContainer has originally been implemented in Java but is also available for other platforms and
languages. These are detailed in Ports.
Homepage: http://www.picocontainer.org/
PicoContainer源码导读
一、简介 感谢“简易java框架”分享的学习心得。循着他的足迹,我把picocontainer读了一遍。源代码的版本是1.2-RC-2。 pico的官方站点:http://www.picocontainer.org/ 由于它是一个专门的ioc容器,所以使用起来没有spring那么麻烦。关于他的文档,在官方站点上有一篇《5分钟搞定pico》的文章。国人似乎也...
一些PicoContainer的使用心得
关于Container的Scope 关于Session的管理 关于事务的处理 昨天我发信到pico的maillist,Konstantin Priblouda给我解了惑, 他是Nano-hibernate的contributor,立即豁然了。呵呵。总结如下: 关于Container的Scope Container一般分为三种Scope,即Application, Session, Request,Component应该生存在这三种不同的生命周期中。 Applicat...