Sun Microsystems Logo                 Sun Java™ System Application Server Enterprise Edition 8.1 2005Q1
 
 

  Main Samples Page

Index of Sample Applications

[quickstart] [ee-samples] [webapps] [ejb] [webservices] [jsf] [jndi] [connector] [rmi-iiop] [jms] [jdbc] [logging] [i18n] [xml] [security] [migration] [petstore1.4] [adventurebuilder1.0.1] [acc]

If you download the Sun Java System Application Server 8.1 2005Q1 bundle, Quickstart will be the only sample available. The J2EE(TM) 1.4 Tutorial is available for download from the J2EE web site. The J2EE(TM) 1.4 BluePrints are available in three bundles:

The Sun Java System Application Server 8.1 2005Q1 does not include the J2EE 1.4 BluePrints. To install the J2EE 1.4 BluePrints, download and unzip them into the installation directory of the Application Server. Otherwise, if you have downloaded and installed J2EE 1.4 SDK, your installation will contain the J2EE(TM) 1.4 BluePrints samples.

The J2EE 1.4 Tutorial is not part of the J2EE(TM) 1.4 SDK bundle.

Note: Be sure to read Configuring Pointbase for Sun Java System Enterprise Edition 8.1 before executing any of the following samples. It describes how to configure Pointbase for sample applications which use the Pointbase database in Sun Java System Enterprise Edition 8.1.


Sample Application Description
quickstart

Simple Hello World JSP example described in QuickStart Guide


Enterprise Edition Sample Applications
Sample Application Description
IMPORTANT: Read Setting Up EE Samples before executing any of the following EE samples. It describes how to configure Load Balancer and HADB for sample applications to demonstrate session persistence, high availability, and failover capabilities.
EE High Availability Samples: samples/ee-samples/highavailability
clusterjsp Simple JSP web application to demonstrate session persistence and high availability.

sessionstorage

Demonstrates how various HA session configurations handle different session sizes and complexities.
EE Failover Samples: samples/ee-samples/failover
dukesbookstore

JSP-based Duke's Bookstore application that demonstrates HTTP Session persistence and failover.

product A simple CMP 2.0 EJB application that stores Entity EJBObject references in the HTTP session for failover.
roster A set of CMP 2.0 EJBs with local interfaces which stores the LocalEJBHome reference in the HTTP session for failover.
sfsbfailover

A simple shopping cart application that demonstrates SFSB fail over.
mqfailover Shows a Message Driven Bean receiving messages from a ReplyQueue to demonstrate JMS failover.

Platform Edition Sample Applications
Sample Application Description
Web Application Samples: samples/webapps
simple/

Basic JSP and servlet examples combined into a single web application.

caching/

Demonstrates how to cache results of JSP and servlet execution.

security/

Demonstrates how to secure J2EE web applications via standard authentication mechanisms and access controls.

bookstore/

Demonstrates how to deploy and run Duke's Bookstore Sample Application.

Enterprise JavaBean Examples : samples/ejb

stateless/

Stateless session bean example.

stateful/

Stateful session bean example.

cmp/

Entity beans using Container Managed Persistence (CMP).

bmp/

Entity beans using Bean Managed Persistence (BMP).

mdb/

Message Driven Bean (MDB) example.

subclassing/

Demonstrates subclassing of Enterprise JavaBeans as a way of simplifying bean classes.

timersession A basic Timer Session Bean example.
Pet Store 1.4

See the Petstore1.4 application.

Java Web Services Examples: samples/webservices
jaxrpc

JAX-RPC - JAXRPC based Web Service samples

Adventure Builder

Please refer to Adventure Builder Reference Application v1.0.1.

WS-I 1.1
Webservices Interoperability 1.1 Sample
WS-Security
Webservices Security Samples
WS Interop
Webservices Interoperability Samples
JNDI Examples: samples/jndi
custom

JNDI Custom example

external

JNDI External example

url

JNDI URL based example

XML Processing Examples: samples/xml

dom

A DOM sample

sax

A SAX sample

xslt/

An XSLT sample

Security Realm Examples: samples/security

realms/

A Custom Realm sample

dynamicgroup/

A LDAP Realm sample

Other Examples
jsf/

Java Server Faces Examples

jsf

Demonstrates JavaServer Faces, which simplifies building user interfaces for rapid development of web applications.

connectors/

Connector Example

mailconnector

An Inbound Connector example

rmi-iiop/

RMI/IIOP Example

simple/

Using a Java application client to access a stateless EJB using RMI/IIOP.

jms/

JMS/SOAP Example

soaptojms/

Basic SOAP to JMS example.

jdbc/

Java Database Connectivity Examples

simple/

Basic servlet accessing an RDBMS via JDBC.

transactions/

EJB using the transaction API within JDBC to control a local transaction.

logging/

Logging Examples

simple/

Demonstrates the use of Loggers in writing enterprise applications.

i18n/

Internationalization and Localization Examples

simple/

Demonstrates how to dynamically change the display language of a web application based on user preference.

migration/

How to migrate to Sun Java System Application Server 8.1 2005Q1

petstore1.4/

Demonstrates how to use core J2EE 1.4 features to develop flexible, scalable, cross-platform enterprise applications.

adventurebuilder1.0.1

Demonstrates how to use core J2EE 1.4 features, including Web Services to develop flexible, scalable, cross-platform enterprise applications.

acc/

Application Client Container (ACC) Examples

simple/

Please refer to the sample in rmi-iiop/simple for the use of ACC.