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:
The following distributions are available and include the components listed:
Java Platform, Enterprise Edition 7 (Java EE 7) SDK
Java Platform, Enterprise Edition 7 (Java EE 7) Web Profile SDK
New in Java EE 7 SDK:
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:
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
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.
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:
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:
Java EE 6 Samples should not be used as a template for production code
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.
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
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.
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
A JAX-RS/Jersey timing issue can cause @Inject annotations to produce unexpected failures in some applications that use CDI and JAX-RS.
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.