`
ihuashao
  • 浏览: 4558599 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

PicoContainer发布1.0 BETA版

阅读更多
PicoContainer是一个“微核心”(micro-kernel)的容器。它利用了Inversion of Control模式和Template Method模式,提供面向组件的开发、运行环境。从名字上就可以看出,PicoContainer是“极小”的容器,只提供了最基本的特性。其他容器可以在它的基础上加入更多特性。因其小,PicoContainer也是剖析、研究的最佳对象。
————————————
The PicoContainer team is proud to announce the release of the first beta of PicoContainer 1.0.

PicoContainer is an embeddable container for type-3 Inversion of Control (IoC) components. It is delivered as a set of abstractions, a couple of instantiable containers, a few adaptors for hierarchies and (optional) lifecycle management as well as support classes. We genuinely believe this to be the logical conclusion of the IoC component model.

Components:

The component model (igoring our lifecycle support) is unencumbered by obligations of API. There is nothing to extend, nothing to implement and nothing to throw. The component model forces no obligations for XML meta-data on the developer or user of PicoContainer components. The design is so simple, that for very tightly coupled deployments, a developer could cherry pick components and embed them in their application without even importing let alone using anything from the org.picocontainer codebase.

Diversity:

From the abstractions, other container developers can build containers compatible and interoperable with PicoContainer. We encourage diversity of implementation as we are not building a single container. In terms of the PicoContainer deliverable, there are no external Jar dependancies, and no use of XML for component declarations. Along with the PicoContainer deliverable, there is a Technology Compatability Kit (TCK). This is in the form of the abstract JUnit test cases. A container developer can use this to ensure than their implementation of a PicoContainer is compatible with the design. Container developers may choose from-scratch designs, wrapping of existing classes, or extending existing classes.

NanoContainer:

As a sister project to PicoContainer, we also have NanoContainer. Like PicoContainer, NanoContainer is more than one container. All are built to the PicoContainer design, and offer different embeddable visions. One interoperates with Nanning (the aspect framework) to provide aspect capability for arbitary components. Another retrofits JMX compatability to arbitary components. Some of the NanoContainers deliver component assembly and configuration via XML.

The Plan:

The plan is to build more containers and to sell the component design further.

- The PicoContainer team.

Visit www.picocontainer.org
分享到:
评论

相关推荐

    Android代码-picocontainer

    PicoContainer 3.x is in Git at Github and Codehaus (mirrors), and is a work in progress. PicoContainer 3.x is good enough to use in production, but it is not finished yet. Goals over 2.x The major ...

    PicoContainer源码学习日志

    cucumber-picocontainer-example

    CucumberPicoContainer示例开发环境安装Git( ) 安装JDK 1.5+( 或 ) 安装Maven 3( )下载git clone git@github....jar target/cucumber-picocontainer-example-jar-with-dependencies.jar

    picocontainer:Java微容器

    只是为了学习这个项目和github。

    cake-picocontainer-1.3.jar

    jar包,亲测可用

    coconut-internal-picocontainer-1.3.jar

    jar包,官方版本,自测可用

    cake-picocontainer-1.3-sources.jar

    jar包,亲测可用

    vertx-pico-support:vert.x 的 PicoContainer 支持

    PicoContainer 支持 vert.x 使用依赖注入。 用法 创建一个垂直: public class MyVerticle extends Verticle { public void start() { ApplicationContext applicationContext = ApplicationContext.create() ....

    DI容器框架Google Guice与Spring框架的区别

    DI容器,例如spring,picoContainer,EJB容器等等 与Guice的不同

    Dependency Injection

    This book is written for developers and architects who want to understand Dependency Injection and successfully leverage popular DI technologies such as Spring, Google Guice, PicoContainer, and many ...

    [依赖注入] 依赖注入 实战 (英文版)

    [Manning Publications] 依赖注入 实战 (英文版) [Manning Publications] Dependency Injection (E-Book) ☆ 图书概要:☆ Dependency Injection is an in-depth guide to the current best practices for using ...

    JacORB安装包

    %JACORB_HOME%\lib\picocontainer-1.2.jar;%JACORB_HOME%\lib\slf4j-api-1.5.6.jar; %JACORB_HOME%\lib\slf4j-jdk14-1.5.6.jar;%JACORB_HOME%\lib\wrapper-3.1.0.jar; 修改PATH添加%JACORB_HOME%\bin

    samplepizzaorderingapplication

    先决条件Java - 1.6 或更高版本Maven - 3.2.3 Chrome/火狐经过测试操作系统Chrome - 39 版,Firefox - 28 版(仅支持 Chrome 和 Firefox)测试框架技术栈JavaCucumber-JVM Selenium(网络驱动程序) Maven微微容器...

    Dependency Injection In Action

    This book is written for developers and architects who want to understand Dependency Injection and successfully leverage popular DI technologies such as Spring, Google Guice, PicoContainer, and many ...

    向依赖关系宣战--依赖倒置、控制反转和依赖注入辨析

    “控制反转(Inversion of Control)的一个... Martin提出的依赖倒置原则(Dependency Inversion Principle),它的另一个昵称是好莱坞原则(Hollywood Principle:不要调用我,让我来调用你)”[PicoContainer 2004]。

    JdonFramework 应用开发文档

    Aop/Ioc的实现,所有组件运行在微容器PicoContainer 中。 JdonFramework 优点和成熟点是内置 Web 层缓存性能优化,大大提高批量查询的性能 和速度;通过Jdonframework.xml配置,可迅速实现数据模型的增、删、改、查...

    EJB3.0中的依赖注入,截获器及其在WebLogicServer10中的扩展

    2依赖注入2.1基本概念依赖注入是从开源社区的一些著名轻量级容器(如Spring、Picocontainer)中所发展出来的概念,其主要思想就是由容器而不是对象本身来负责处理对象之间的依赖关系。与传统的服务定位器相比,依赖...

    codepot-vending-machine:自动售货机代码罐

    时髦的IoC容器评论kata Kata旨在熟悉所选的IoC容器(例如Guice,PicoContainer,Hk2,Dagger等)。 练习的目的是使您可以检查所用容器的api。 下载专案切换到适当的分支机构(例如team01) 阅读故事,实施,运行测试...

    java8集合源码-java-bdd-cucumber:java-bdd-cucumber

    java8集合源码UI BDD 自动化测试框架 前言 目的:在 Windows 上进行 UI 测试的端到端测试 作者:托马斯·阮 ...Cucumber-picocontainer:将代码注入 Cucumber 步骤定义 Cucumber-junit:在Cucumber上运行 JU

Global site tag (gtag.js) - Google Analytics