首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 对于高考和弹簧java和添加简单的IOC容器

对于高考和弹簧java和添加简单的IOC容器

资 源 简 介

Moved to: https://github.com/edolganov/knowledge-collector Intro Green-forest Framework is the simple IoC Container with Action-Handler architecture. It"s not a competitor for Spring Framework or JEE but it"s a powerful addition for these frameworks. You can use Green-forest for a single class implementation and for a complex business logic. Motivation What is the motivation for using Green-forest Framework? The main task is to simplify the code: transfer of one big class (some service implementation) to a set of small classes (handlers). Code Example ``` //create Green-forest Engine Engine engine = new Engine(); //register some handler engine.putHandler(SomeActonHandler.class); //invoke some action and get result String result = engine.invoke(new SomeAction("some data")); //impleme

文 件 列 表

src
example
jdbc
WEB-INF
jsp
labels.properties
tags
web.xml

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP