glassfish-samples
Project home
Notice: project area maintenance to enable Project Editor feature Monday, 6/25 from 7:00 pm to 7:45 pm PDT.
If you were registered and logged in, you could join this project.
Project Description
The Samples project provides relevant sample applications to
demonstrate the
Java EE Technolgy using the
Java
EE SDK built by project
GlassFish. These sample applications also ship
as part of Java EE SDK. Contributing to this project means contributing
to the SDK and being part of a bundle which has millions of downloads.
The sample applications also work with Sun Java System Application
Server SJSAS 9.0. These sample applications conform to the
BluePrints project guidelines and may be used
as templates to start a project or learn a specific Java EE technology.
Learn the JavaEE 5 technologies
- Click on the sample from the list to learn about the sample and the
procedure to build and run.
- Make sure you have downloaded and installed Java
EE SDK or GlassFish. In the instructions below,
<javaee.home>
refers to the path where you installed the application server.
- Download
the samples installer and for subsequent instructions, let
us call this javaee5-samples-1.0-installer.jar
-
cd
<javaee.home>/samples
Create the samples
directory if it does not exist
- Install the samples by executing the following command
java -jar
javaee5-samples-1.0-installer.jar
Study and accept the license agreemnt for the samples to get installed
- Refer to samples/javaee5/index.html for instructions on
using sample applications. A simple one time
setup. which is common for all samples is needed to build and run
the sample applications. Click on the sample from the list to learn about the sample and the
procedure to build and run.
- Report issues to users@glassfish-samples.dev.java.net
Developing sample applications
Samples Archive
Additional Resources