Skip Headers
Oracle® Java Embedded Suite Application Developer's Guide
Release 7.0
E28526-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

6 Working with GlassFish

This chapter describes the GlassFish edition that is included in Oracle Java Embedded Suite.

Table of Contents

6.1 GlassFish Features

The GlassFish edition included in Oracle Java Embedded Suite is packaged as a library whose classes your application invokes. To reduce memory footprint, the Oracle Java Embedded Suite GlassFish edition's feature set is a subset of the GlassFish Web Profile edition, as shown in Table 6-1. Notice that some missing features, such as Java DB, are provided by other Oracle Java Embedded Suite components.

Table 6-1 GlassFish Feature Comparison

Feature GlassFish Web Profile GlassFish for Oracle Java Embedded Suite

Part of Java EE 6 Specification

Yes

No

EJB 3.1 Lite

Yes

No

JTA/JTS

Yes

No

OSGI-based microkernel

Yes

No

Servlet 3.0

Yes

Yes

JSTL 2.2

Yes

No

JSP

Yes

NoFoot 1 

JSF

Yes

No

EL

Yes

No

JDBC

Yes

NoFoot 2 

Java DB

Yes

NoFoot 3 

Web Administration Console and CLI

Yes

No

JAX-RS

Yes

NoFoot 4 

EJB 3.1

Yes

No

Bean Validation 1.0

Yes

Yes

Clustering

Yes

No

CDI

Yes

No

JPA 2.0

Yes

No

WAR Deployment

Yes

No


Footnote 1 JSP does not work in Oracle Java Embedded Client because it requires a Java compiler which the Java Runtime Environment does not have.

Footnote 2 JDBC is provided with the Java DB component.

Footnote 3 Java DB is a separate component of Oracle Java Embedded Suite.

Footnote 4 JAX-RS support is provided by Oracle Java Embedded Suite's Jersey component.

6.2 GlassFish Files

The GlassFish files are in installDir/jes7.0/glassfish/. The JAR file to include in the compile- and run-time classpaths is installDir/jes7.0/glassfish/lib/glassfish-jes.jar.

6.3 GlassFish Documentation

The GlassFish documentation page is http://docs.oracle.com/cd/E18930_01/.

Because GlassFish for Java Embedded Suite is a small subset of the complete GlassFish product, much of the documentation is not relevant. The most relevant document is the Embedded Server Guide (http://docs.oracle.com/cd/E18930_01/html/821-2424/index.html). Focus your attention on the topics describing web applications and servlets. The corresponding Javadoc is http://embedded-glassfish.java.net/nonav/apidocs/.

In the main Enterprise Edition Javadoc (http://docs.oracle.com/javaee/6/api/), the only relevant package is javax.servlet, except for javax.servlet.jsp and its sub-packages.

For information on securing access to web pages and services, consult these documents:

6.4 GlassFish Samples

The following samples incorporate GlassFish: