Sun Java System Application Server |
This page contains links to all the sample applications provided with Sun Java System Application Server Platform Edition.
These samples are available as part of:
Additional sample applications are available online:
Note: Be sure to read
Building, Deploying, and Running Sample Applications
before trying any of the following samples. Also, note that many of the sample applications require a
database server to be running and configured. If so, the individual sample documentation will explain
the neccessary steps.
Sample Application | Description |
---|---|
quickstart |
Simple Hello World JSP example described in QuickStart Guide |
Web Application Samples: samples/webapps
| |
simple |
Basic JSP and servlet examples combined into a single web application. |
Demonstrates how to cache results of JSP and servlet execution. |
|
Security examples:
basic-auth form-auth |
|
Demonstrates how to deploy and run Duke's Bookstore Sample Application. |
|
Enterprise JavaBean Examples: samples/ejb |
|
Stateless session bean example. |
|
Stateful session bean example. |
|
Entity beans using Container Managed Persistence (CMP). |
|
A simple Bean Managed Persistence (BMP) example (sub-directory bmp/apps/simple ).
Example of read-only BMP beans (sub-directory bmp/apps/robean ).
|
|
Message Driven Bean (MDB) example. |
|
Demonstrates subclassing of Enterprise JavaBeans as a way of simplifying bean classes. |
|
timersession | A basic timer session bean example. |
Java BluePrints Examples: samples/blueprints
| |
Java Adventure Builder | Demonstrates core features of the J2EE platform for developing flexible, scalable, cross-platform enterprise applications, including web services. |
Java Pet Store | Demonstrates core features of the J2EE platform for developing flexible, scalable, cross-platform enterprise applications. |
Java Web Services Examples: samples/webservices
| |
JAX-RPC |
Three JAX-RPC web service applications using JAX-RPC |
wsi1.1 | WS-I Supply Chain Management Sample Application |
sun-webservice | InteropHelloWorld web service that demonstrates interoperability with various JAX-RPC clients. |
axis-client | Apache AXIS client for InteropHelloWorld application. |
Security Examples:
web EJB |
Samples that demonstrate ways to secure servlet-based web services. Samples that demonstrate ways to secure EJB-based web services. |
JNDI Examples: samples/jndi
| |
custom |
Demonstrates using a custom JNDI resource factory |
external |
Demonstrates using an external JNDI resource factory |
url |
Demonstrates using a JNDI resource to connect to a URL. |
XML Processing Examples: samples/xml
| |
Demonstrates using the XML document object model (DOM). |
|
Demonstrates uising the Simple API for XML (SAX). |
|
Demonstrates using Extensible Stylesheet Language Transformation (XSLT). |
|
Security Realm Examples: samples/security
| |
Demonstrates using a custom security realm |
|
Demonstrates using a Lightweight Directory Access Protocol (LDAP) security realm. |
|
Java Database Connectivity (JDBC) Examples : samples/jdbc
| |
Basic servlet accessing an RDBMS via JDBC. |
|
EJB using the JDBC transaction API to control a local transaction. |
|
Other Examples | |
jsf |
Three samples that demonstrate use of JavaServer Faces (JSF), which simplifies building user interfaces for rapid development of web applications. |
mailconnector |
Illustrates how to create a J2EE Connector Architecture 1.5 compliant resource adapter (RA) (Inbound Connector) |
Using a Java application client to access a stateless EJB using RMI/IIOP. |
|
Illustrates using an application client to send and receive SOAP messages with JMS. |
|
Demonstrates the use of Loggers in writing enterprise applications. |
|
Internationalization and Localization - How to dynamically change the display language of a web application based on user preference. |
|
migration |
How to migrate an application to Sun Java System Application Server 8.2 |
acc |
Application Client Container (ACC): Refer to the sample in rmi-iiop/simple for the use of ACC. |
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.