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)
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)。
软件详情:https://issues.jboss.org/projects/WELD/versions/12328625
下载地址:http://weld.cdi-spec.org/download/
来自:开源中国社区

