Java EE7正式推出,带来HTML5和WebSocket支持
甲骨文将在今天推出最新的企业版面向对象的语言,Java EE7的新功能对Java开发人员提供更好的网页编程支持。
Java EE7的三大主题:提供HTML5动态可伸缩的应用程序,增加开发人员的工作效率,减少样板代码,并满足企业最期望的需求有两个新的JSRs(并发实用程序和批处理的API:Concurrency Utility and Batch APIs)。
The release, the first under Oracle leadership, has been hit with delays throughout the three years since Java EE 6. Originally set to arrive at the end of 2012, Oracle, following Expert Group advice, chose to delay ambitious cloud features until Java EE 8 at the earliest. Oracle’s Linda DeMichiel put this down to a “lack of maturity in the space for provisioning, multi-tenancy, elasticity, and the deployment of applications in the cloud.”
Another key JSR that missed out on the EE release, is JCache, a caching API that has been in the works for 12 years.
With several targeted features deferred, Java developers may feel that the latest enterprise release doesn’t offer a standout feature worth upgrading for.
For example, the London Java Community noted that the JMS 2.0 spec “could have been more ambitious and broader in scope” in its approval ballot. “The LJC views the messaging space as one in which further standardisation is possible and desirable, and urges interested JCP members to explore possibilities in this space,” they added.
However, the end result does show a tremendous amount of work (if nothing revolutionary), with 14 JSRs (10 updated and 4 new) and 9 MSRs making the cut, as detailed below. In total, 187 Java professionals contributed to the release from 32 companies. Notably, Red Hat led the CDI and Bean Validation JSRs while IBM were in charge of the Batch effort.
JSRs:
-
Java Platform, Enterprise Edition 7 (JSR 342)
-
Concurrency Utilities for Java EE 1.0 (JSR 236)
-
Java Persistence 2.1 (JSR 338)
-
JAX-RS: The Java API for RESTful Web Services 2.0 (JSR 339)
-
Java Servlet 3.1 (JSR 340)
-
Expression Language 3.0 (JSR 341)
-
Java Message Service 2.0 (JSR 343)
-
JavaServer Faces 2.2 (JSR 344)
-
Enterprise JavaBeans 3.2 (JSR 345)
-
Contexts and Dependency Injection for Java EE 1.1 (JSR 346)
-
Bean Validation 1.1 (JSR 349)
-
Batch Applications for the Java Platform 1.0 (JSR 352)
-
Java API for JSON Processing 1.0 (JSR 353)
-
Java API for WebSocket 1.0 (JSR 356)
MRs:
-
Web Services for Java EE 1.4 (JSR 109)
-
Java Authorization Service Provider Contract for Containers 1.5 (JACC 1.5) (JSR 115)
-
Java Authentication Service Provider Interface for Containers 1.1 (JASPIC 1.1) (JSR 196)
-
JavaServer Pages 2.3 (JSR 245)
-
Common Annotations for the Java Platform 1.2 (JSR 250)
-
Interceptors 1.2 (JSR 318)
-
Java EE Connector Architecture 1.7 (JSR 322)
-
Java Transaction API 1.2 (JSR 907)
-
JavaMail 1.5 (JSR 919)
Oracle has jumped the gun slightly, releasing the reference implementation with the first Java EE 7 application server Glassfish 4.0. The popular NetBeans IDE has also received a welcome update in time for Java EE 7, in NetBeans IDE 7.3.1.
A free Java EE 7 Launch webinar, consisting of strategy and technical keynotes as well as breakout sessions with JSR leads, is scheduled for today at 9am PT, 12pm ET and 5pm BST. It will be repeated at 9pm PT for timezones unable to make the first.