论坛首页 Java企业应用论坛

另一个DI的框架:Seasar2

浏览 7865 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-02-07  
最近在工作中碰到一个需求,要用到seasar2,上网查了一下。
是跟spring类似的依赖注入工具,同时带有AOP的处理能力。
同样使用xml格式的配置文件,后缀为dicon 。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC
    "-//SEASAR//DTD S2Container 2.3//EN"
    "http://www.seasar.org/dtd/components23.dtd">
<components>
    <component name="greeting"
        class="examples.di.impl.GreetingImpl"/>
    <component name="greetingClient"
        class="examples.di.impl.GreetingClientImpl">
        <property name="greeting">greeting</property>
    </component>
</components>



网站:http://s2struts.seasar.org/en/

跟java相关的项目:

S2Container  Light weight container supporting DI (dependency injection) and AOP (aspect oriented programming) 支持依赖注入和AOP的轻量级容器。

持久层
S2Dao  O/R mapping framework without using XML to map definitions.不使用映射定义的o/r映射框架
S2Hibernate.Java Library to use Hibernate with S2Container. 结合hibernate和S2Container。
S2Kuina JPA (Java Persistence API) framework. 使用jpa的框架。

工具
Kijimuna  Eclipse plug-in to assist edit/validate dicon file (S2Container configuration file).  帮助编写dicon(配置)文件的eclipse插件
S2JSF Plugin Eclipse plug-in to assist edit/validate S2JSF presentation template.帮助编写jsf的eclipse插件

还有很多支持WEB表现层的项目。
因为有日文文档,估计做日本外包软件的朋友们会喜欢吧。呵呵。
S2Struts里好像可以支持自动的structs的引入。
   发表时间:2007-07-20  
有seasar的中文资料吗
0 请登录后投票
   发表时间:2007-07-21  
http://www.seasar.org/cn/index.html

比较老,凑合着看吧
0 请登录后投票
   发表时间:2007-07-27  
这个框架还是比较灵活的
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics