1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Weld 2.3.2.Final 发布,CDI 规范实现 下载

Discussion in '软件资讯' started by 漂亮的石头, 2015-12-13.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,356
    Likes Received:
    47
    Weld 2.3.2.Final 发布,此版本解决了 15 个 issues,详细改进请看发行说明

    值得关注的改进和 bug 修复


    • Weld proxies - add workaround for IBM JVM 8 (WELD-2056 and DELTASPIKE-1010)


    • Fix resource injection when using arquillian-weld-ee-embedded-1.1 (WELD-2065 and ARQ-2000)


    • All conversation contexts should be destroyed after the Servlet.service() method completes (WELD-2052)


    • Clear RequestScopedCache for remote EJB calls (WELD-2069)


    • Weld Servlet

      • Allow to perform dependency injection upon objects not having a CDI-compatible constructor (WELD-2039)


      • Add Jandex support even for WARs not extracted to the file system (WELD-2070)

    • Probe development tool is now part of the OSGi bundle (WELD-2061)

    [ CDI 1.2 API ] [ Download ] [ Documentation ] [ Release notes ]

    Weld 是一个实现了 JSR-299 的框架。

    JSR 299 是 Java EE 6 中非常重要的部分,提供了如下功能:

    1. 类型安全的依赖注入
    2. 注入对象的上下文生存周期管理
    3. 事件提醒模型
    4. 绑定拦截器通过用户自定义的注解(Annotation)
    5. 类型安全的装饰器
    6. 为整合第三方框架提供了完整的 SPI 支持
    7. 与 JSF,Servlet / JSP 进行了整合
    8. 对 JSF 提供长会话(Conversation)上下文支持

    最 棒的是这些功能都是基于一个清晰、简单、统一的编程模型,其强调了两个最有价值的概念:类型安全,松耦合。JSR 299 不使用字符串或者 XML 绑定组件、事件、拦截器与装饰器。取而代之的是使用 Java 类型系统以及用户自定义的“绑定注解(binding annotations)”。
    Weld 2.3.2.Final 发布,CDI 规范实现下载地址
     
Loading...