Java Platform, Enterprise Edition 7 SDK - Release Notes

These Release Notes provide the latest information about Java Platform, Enterprise Edition 7 SDK and Java Platform, Enterprise Edition 7 Web Profile SDK. The following topics are discussed:

Distributions and Their Components

The following distributions are available and include the components listed:

  • Java Platform, Enterprise Edition 7 (Java EE 7) SDK

    • GlassFish Server Open Source Edition 4.0
    • Java EE 7 Tutorial
    • Your First Cup: An Introduction to the Java EE Platform
    • Java EE 7 Samples
    • Java EE 7 API Documentation
  • Java Platform, Enterprise Edition 7 (Java EE 7) Web Profile SDK

    • GlassFish Server Open Source Edition 4.0 Web Profile
    • Java EE 7 Tutorial
    • Your First Cup: An Introduction to the Java EE Platform
    • Java EE 7 Samples
    • Java EE 7 API Documentation

Visit the Java EE 7 SDK Downloads page for more information about each distribution. See the Java EE 7 SDK Installation Instructions for installation information.

What's New

New in Java EE 7 SDK:

GlassFish Server Open Source Edition 4.0

GlassFish Server Open Source Edition provides a server for the development and deployment of Java EE applications and web technologies. The Java EE 7 SDK bundles include GlassFish Server Open Source Edition 4.0 distributions. Those distributions implement Java EE 7 technologies.

Java EE 7 carries forwards the concept of profiles. A profile is a collection of Java EE technologies and APIs that address specific developer communities and application types. The following profiles are implemented through the GlassFish Server distributions:

  • Full Platform. This profile is implemented in GlassFish Server Open Source Edition 4.0. It is installed as part of the Java EE 7 SDK installation. This profile is designed for developers who need the full set of Java EE APIs for enterprise application development.
  • Web Profile. This profile is implemented in GlassFish Server Open Source Edition 4.0 Web Profile. It is installed as part of the Java EE 7 Web Profile SDK installation. This profile contains web technologies that are part of the full platform and is designed for developers who do not need the full set of Java EE APIs.

Resources

The following resources in the Java EE 7 SDK and Java EE 7 Web Profile SDK will help you get started with Java EE 7.

  • Your First Cup: An Introduction to the Java EE Platform provides a short tutorial for beginning Java EE programmers that shows how to develop a simple enterprise application from scratch. The sample application consists of four main components: a JAX-RS RESTful web service, an enterprise bean, a Java Persistence API entity, and a web application created with JavaServer Faces Facelets technology.

  • The Java EE 7 Tutorial is a guide to developing enterprise applications for GlassFish Server. The tutorial includes working examples and instructions for creating applications with new and updated Java EE 7 technologies, including Java API for WebSocket, Java API for JSON Processing, Batch Applications for the Java Platform, Concurrency Utilities for Java EE, Java Message Service, Java Servlets, JavaServer Faces, RESTful Web Services, Enterprise JavaBeans, Java Persistence API, Contexts and Dependency Injection for Java EE, and more. The tutorial is also available through Update Tool.

  • Java EE 7 Samples demonstrate Java EE 7 technologies and help you learn more about them. After installation, Samples are located in the install-dir/glassfish/samples/javaee7 directory. See the index.html file in that location for more information about the samples.

  • Java EE 7 API Documentation provides API reference documentation for the packages and related APIs that make up the Java EE 7 platform. This documentation is generated from the source code by the Javadoc tool. After installation, the bundled API documentation can be accessed from install-dir/glassfish/docs/api/index.html.

The following resources will help you get started with GlassFish Server Open Source Edition and make the most of its capabilities.

  • Quick Start Guide helps you become familiar with GlassFish Server Open Source Edition and explains how to perform basic tasks such as starting the server, accessing the Administration Console, and deploying a sample application. The guide pertains to both GlassFish Server Open Source Edition and GlassFish Server Open Source Edition Web Profile.

  • GlassFish Server Open Source Edition 4.0 Release Notes provide the latest information about GlassFish Server Open Source Edition, including what's new, known issues, and pointers to additional resources.

  • Product Documentation provides detailed information about GlassFish Server Open Source Edition 4.0 in a ZIP file that includes all of the product documentation in PDF format.

  • Update Tool enables you to install and update additional technologies and frameworks. Update Tool is installed with GlassFish Server and can be accessed from the GlassFish Server Administration Console or from the command line.

System Requirements

Java EE 7 SDK distributions require JDK 7. Ensure that the required JDK software is installed on your system and that the JAVA_HOME environment variable points to the JDK installation directory, not the Java Runtime Environment (JRE) software.

The following operating systems are supported:

  • Oracle Linux 6 (UL1+)
  • Red Hat Enterprise Linux 6 (UL1+)
  • SuSE Linux Enterprise Server 11 (All SP levels included)
  • Windows 7
  • Windows 8
  • Solaris 11
  • MacOS X 10.8.2+
  • Ubuntu 12.10

Ubuntu uses the 32-bit JDK and Windows 7 and Windows 8 can use both 32-bit and 64-bit JDKs. The other operating systems all use the 64-bit JDK.

The minimum and recommended memory and disk space requirements are as follows:

  • Minimum memory: 1 GB
  • Recommended memory: 2 GB for Windows platforms, 1 GB for non-Windows platforms
  • Minimum disk space: 250 MB
  • Recommended disk space: 500 MB

Known Issues and Limitations

  • Java EE 6 Samples should not be used as a template for production code

    Description

    Sample code in the Java EE 6 Samples has been provided to assist developers in understanding Java functionality. This code has been deliberately simplified and does not take security considerations into account.

    Although this bug was filed against the Samples in the Java EE 6 SDK, the same issue exists with the Samples in the Java EE 7 SDK.

    Workaround

    Do not use the sample code in the Java EE 7 Samples as a template for any production code.

    For the complete report about this issue, see 12652086.

  • 4 tutorial examples in Java EE 7 SDK fail because zero-byte length beans.xml files are not zero bytes long

    Description

    The beans.xml files in four Java EE 7 Tutorial projects (concurrency/jobs, web/jsonp/jsonpmodel, web/jsonp/jsonpstreaming, and web/jsf/checkout-module) contain 2 empty lines instead of being empty. This causes the examples that contain these files to fail. The beans.xml files in these projects can be deleted or modified in a text editor so the examples can be run.

    Workaround

    The workaround is explained in the issue.

    For the complete report about this issue, see JAVAEETUTORIAL-172.

  • Use of @Inject Annotation Can Produce Strange Errors

    Description

    A JAX-RS/Jersey timing issue can cause @Inject annotations to produce unexpected failures in some applications that use CDI and JAX-RS.

    Workaround

    Use the GlassFish Update Center to update to the latest version of GlassFish Server.

    For the complete report about this issue, see GLASSFISH-20255.

Consult the GlassFish Server Open Source Edition 4.0 Release Notes for issues related to the GlassFish Server distributions included in the SDK.

Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve

Java 8 banner (182)



Java One 2014 RHS Banner

Duke's Choice RHS Banner