Web Beans 1.0.0 Alpha 2 发布!

WebBeans 1.0 Alpha2版本已实现jsr-299标准的80%功能,支持注入新实例、被动作用域等功能,并提供对简单Bean的支持,兼容JBoss 5。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Web Beans 1.0.0 Alpha 2 ,已经实现了jsr-299中80%的功能。值得注意的是,jsr-299已经更名为Java Contexts and Dependency Injection。JBoss 保留了Web Beans作为项目名称。

具体参见:

 

http://in.relation.to/Bloggers/WebBeans100ALPHA2Released

 

这次发布版本带的新特性:

  • Injection of new instances via @New
  • Support for passivating scope
  • Updates to metadata inheritance rules
  • specialization
  • realization
  • injection point metadata
  • injection via @Resource, @EJB and @PersistenceContext into simple beans

之前的alpha 1已经支持以下特性。

  • support for simple beans
  • support for enterprise beans and enterprise bean remove methods
  • typesafe and name based resolution
  • producer methods
  • producer fields
  • the dependent context
  • support for JBoss 5
  • the servlet contexts: application, session and request
  • field and constructor injection
  • @Initializer methods
  • Event support (firing and observing events)
  • definition of observer methods through annotations
  • injection of event producers
  • conditional events
  • stereotypes
  • support for lifecycle callbacks (@PostConstruct and @PostDestroy)
  • an SPI to integrate with other containers

There is also preview support for:

  • transactional observers
  • dynamic lookup through @Obtains

 


来自: http://in.relation.to/Bloggers/WebBeans100ALPHA2Released

转载于:https://www.cnblogs.com/lanzhi/archive/2009/02/02/6469618.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值