http://www.jcp.org/en/jsr/detail?id=299
我(Pete
Muir)高興的宣布Web Beans(JSR-299)
1.0.0.PREVIEW正式發布。這是首個功能全備(100%功能點完成)的裡程碑版本!為了能更舒適容易的進行開發,JSR-299為JAVA
EE環境提供了一系列服務介面,為POJO和EJB類提供了更強大生命週期和互通性。
新的發布版支援servlet容器(非EJB
環境)例如tomcat或jetty,可以使用Wicket作為顯示層技術(JSF之外的新選擇)並且支援Java
SE環境。此版本已經內建在即將發布的JBoss AS 5.1.0.CR1和GlassFish V3 build
46(非EJB環境),所以可以下載示範執行個體後直接部署。
Web Beans教程已經被翻譯成簡體中文,繁體中文,德語,朝鮮語,西班牙語,葡萄牙語及意大利語。
本次發布版包括六個示範執行個體,如果想要學習更多關於JSR-299的知識,我建議大家去查看教程或者訪問seamframework.org。
如
果沒有很多人的辛勤勞動,就不會有這個發布版。這裡我要感謝:Clint Popetz (Wicket支援), David Allen (日誌),
Ales Justin (JBoss整合), Takeshi Kondo (bug彙報), Pete Royle (Java SE支援),
Andrew Lee Rubinger (EJB整合), João Paulo Viragine (葡萄牙語翻譯), Sean Wu
(簡體中文翻譯) and Sanjeeb Sahoo (OSGi支援)。
在未來幾周我們會儘快發布其他的預覽版本(包括Seam整合橋接和spring整合橋接)。請關注這個空間!
1.0.0 PREVIEW詳細支援清單:
* Servlet containers such as Tomcat or Jetty
* Java SE
* Apache Wicket
* disposal methods
* Child activities
* Injection of Java EE resources via beans.xml aliasing
* OSGi support
* An injectable logger
* The ability to gracefully disable services depending on envrionment
之前BETA1版詳細支援清單:
* simple beans
* enterprise beans
* typesafe and name based resolution
* producer methods
* producer fields
* the dependent context
* support for JBoss 5
* the servlet contexts: application, session and request
* Conversations, including propagation in JSF
* field and constructor injection
* @Initializer methods
* dynamic lookup through @Obtains
* Event support (firing and observing events)
* definition of observer methods through annotations
* injection of event producers
* conditional events
* Transactional observers
* Asynchronous Observers
* stereotypes
* support for lifecycle callbacks (@PostConstruct and @PostDestroy)
* an SPI to integrate with other containers
* 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
來源:http://in.relation.to/Bloggers/FirstPreviewOfWebBeansAvailable