JAVA 7 and JAVA EE 6 发布日期在本次Javaone公布

分类:IDE开发环境, Java, 服务器端技术, 计算机与互联网 作者: 秋天 on 11-06-2009

标签分类 : , , ,

根据Jim White从本次JAVAONE带回来的报道。新的Java 7 以及Java EE 6将分别于,2010年二月和2009年10月发布。

在本次JAVAONE中同时公布了一些新的JAVA 7和JAVA EE6将要支持的新特性,包括:

  1. modules (allowing you to customize the features of Java you need for your app and finally killing the classpath)
  2. null check operator/conditional - "?:"
  3. Strings in switches
  4. multiple exception catches in the catch block (using "")
  5. diamond operator to allow the generics to be more easily used.
    //For example...
    HashMap> map = new HashMap>();
    //becomes
    HashMap> map = new HashMap<>();

没有在本次JAVAONE公布但是有传言将会支持的新特性:

  1. closures
  2. SQL expression checking

新的JAVA EE 6将会有如下的主要变更:

  1. JAX-RS (support for RESTful web services)
  2. JSF 2.0
  3. Asynch servlets
  4. Bean validation (adding validation to JavaBeans that can be used to validate property data anytime they are used).
  5. Web.xml is gone (at least it can be gone) with the use of annotations and/or web.xml fragments.
  6. Web beans - essentially session beans in the WAR file.

    JAVA 7将会在今年9月份结束最后一个Milestone版本,该版本将会包括正式版JAVA 7中的所有新特性。而JAVA EE 6的最后一个Milestone版本将会在今年9月份发布。

    另外,Jim White在本次JAVAONE中带回的新消息还包括,Eclipse IDE的下一个版本“Eclipse Galileo”将会在六月24日发布,该版本会有非常大的变动,支持了Eclipse社区新增的33-48个新的projects。

    并且Spring会公布一个全新的项目“Spring Roo”。

    
    如果你喜欢本站,请加入你的收藏夹以便随时回来