New Features in EJB 3.1, http://www.theserverside.com/tt/articles/article.tss?l=NewFeaturesinEJB3-1.
New Features in EJB 3.1 - Part 2, http://www.theserverside.com/tt/articles/article.tss?l=NewFeaturesEJB31
Enterprise Java Community: The New Features in EJB 3.1 - Part 3 Enterprise Java Community- The New Features in EJB 3.1 - Part 3
看看下面的链接:
JSR 316: Java EE 6, http://jcp.org/en/jsr/detail?id=316.
成员列表(以前的反叛者,号称不用EJB的Spring后台公司,红字部分,也加入了Java EE 6 的大家庭,看来新版Java EE也许是大势所趋啊,呵呵):
| | Roberto Chinnici | | Sun Microsystems, Inc. |  | Bill Shannon | | Sun Microsystems, Inc. | | BEA Systems | | Bien, Adam | | Blevins, David | | Divakaran, Rejeev | | Ericsson AB | | Genender, Jeff | | Goncalves, Antonio | | IBM | | Inria | | Interface21 Inc | | KEIL, Werner | | Kohen, Elika S. | | Leme, Felipe | | NCsoft Corporation | | Oracle | | Peking University | | Pramati Technologies | | Prasanna, Dhanji R. | | Rahman, M. Reza | | Red Hat Middleware LLC | | SAP AG | | Suleiman, Hani | | Sun Microsystems, Inc. | | Sybase | | Tmax Soft, Inc. | | TongTech Ltd | |
再看Spring直接开始了作为EJB容器的实现的支持项目,我一直说Spring只不过是另一个Application Server(而且还不是性能很好的那种),现在终于得到了验证,红字的就是 Rod 大叔(Java的开源,大多数最后都会成立公司,成为商业项目来运营,从Hibernate,JBoss再到Spring,无一例外,盖项目代码大了以后,就是开源了,外人也看不懂):
http://static.interface21.com/projects/pitchfork/files/m4/docs/reference/html_single/
Pitchfork: Spring JEE Support
Reference Documentation
Rod Johnson
Costin Leau
Michael Chen
Version 1.0-m4
At the moment, Spring JEE support understands the following annotations, which are part of the JSR 250 and JSR 220:
-
JSR 250 injection annotations (javax.annotation): @PostCostruct, @PreDestroy and @Resource
-
EJB3 interception annotations (javax.interceptor): @AroundInvoke, @ExcludeClassInterceptors, @ExcludeDefaultInterceptors, @Interceptors, @Invocation
-
EJB3 transaction annotations (javax.ejb): @Stateless, @ApplicationException and @TransactionAttribute
-
EJB3 injection annotation (javax.ejb): @EJB (since M2)
In short, Spring can understand Java EE 5.0 injection, interception and transactional metadata.
发表于 @ 2008年04月27日 11:00:50|评论(loading...)|编辑