|
Samples for Enterprise Edition
|
clusterjsp/
|
Simple JSP web application
to demonstrate session persistence and high availability
|
dukesbookstore/
|
A JSP based Duke's Bookstore application
that demonstrates HttpSession persistence and failover
capability of the Application Server
|
sessionstorage/
|
Allow user to experiment with different
HA session configuration, to determine how different
session size and complexity is handled with each
configuration
|
product/
|
A simple CMP 2.0 EJB application stores Entity EJBObject reference in HttpSession for failover
|
roster/
|
A set of CMP 2.0 EJBs application with Local interfaces which stores the LocalEJBHome reference in HttpSession for failover
|
sfsbfailover/
|
A simple Shopping Cart application to demonstrate SFSB failover
|
|
Top ... |
|
J2EE[tm] Web Application Examples
|
simple/
|
Basic JSP and servlet examples
combined into a single web application.
|
caching/
|
JSP and servlet examples demonstrating
how to cache results of JSP and servlet execution.
|
jstl/
|
Basic examples of using the JSP
Standard Tag Library.
|
security/
|
Examples demonstrating how to
secure J2EE web applications via standard authentication
mechanisms and access controls..
|
bookstore/
|
Examples demonstrating how to
deploy and run Duke's Bookstore Sample Application in
conjunction with the Sun Java (tm) System Application Server.
|
|
Top ... |
ejb/ |
Enterprise JavaBean Examples.
|
stateless/
|
Stateless session bean examples.
|
stateful/
|
Stateful session bean examples.
|
cmp/
|
Entity beans using Container
Managed Persistence (CMP).
|
bmp/
|
Entity beans using Bean Managed
Persistence (BMP).
|
mdb/
|
Message Driven Bean (MDB) examples.
|
subclassing/
|
Demonstrate subclassing of Enterprise
JavaBeans as a way of simplifying bean classes.
|
|
Top ... |
webservices/ |
Java Web Services Examples
|
jaxrpc/
|
A suite of JAX-RPC samples
|
jaxr/
|
A suite of JAXR samples
|
jaxm/
|
A suite of JAXM samples
|
cb/
|
The Coffee Break application demonstrates the sale
of coffee on the Internet. It showcases all the components
of web services pack (JAXR, JAXM, JAX-RPC)
|
|
Top ... |
rmi-iiop/ |
RMI/IIOP Examples
|
simple/
|
Basic example of using a Java
application client to access a stateless EJB using RMI/IIOP.
|
cpp/
|
This application is a simplified
version of a Shopping Cart to demonstrate how a C++
IIOP client can access a Stateful Session Bean such
as a Shopping Cart
|
|
Top ... |
jdbc/ |
Java Database Connectivity Examples
|
simple/
|
Basic servlet accessing an RDBMS
via JDBC.
|
blob/
|
EJB accessing Binary Large Objects
(BLOBs) via JDBC.
|
transactions/
|
EJB using the transaction API
within JDBC to control a local transaction.
|
|
Top ... |
jms/ |
Java Message Service Examples
|
queue/
|
Example demonstrating how to
interact with a message queue using JMS.
|
topic/
|
Example demonstrating how to
interact with a message topic using JMS.
|
soaptojms/
|
Example demonstrating how to
convert a SOAP message to a JMS message, then send the message to a Topic via JMS and vice versa.
|
|
Top ... |
corba/ |
Accesing Backend CORBA Resources
Examples
|
ejbsample/
|
This sample demonstrates how
a simple stateless session bean can call methods of
a remote CORBA object with IONA E2A platform as the
underlying ORB
|
servletsample/
|
This example application demonstrates
how a very simple servlet can call methods of a remote
CORBA object based on using Orbix as the underlying
ORB.
|
|
Top ... |
|
J2EE Connector Architecture Examples
|
simple/
|
Basic EJB using a connector to
access a backend system.
|
cci/
|
A sample demonstrating the Common Connector Interface
(CCI)
|
|
Top ... |
jndi/ |
Java Naming and Directory Interface
Examples
|
url/
|
An EJB using the URL resource
facility to access a resource.
|
|
Top ... |
security/ |
Security Examples
|
realms/
|
Examples demonstrating how to
develop, configure and exercise pluggable authentication
modules.
|
|
Top ... |
transactions/ |
Distributed Transaction Examples
|
ejb/
|
Examples demonstrating distributed
transactions using both container and bean managed transaction
controls.
|
web/
|
Servlet using the Java Transaction
API that demonstrates control of a transaction when
calling an EJB.
|
|
Top ... |
javamail/ |
JavaMail Examples
|
simple/
|
Stateless EJB using the Javamail
API to send an email message.
|
|
Top ... |
logging/ |
Logging Examples
|
simple/
|
This sample demonstrates the use of Loggers in writing enterprise applications.
|
|
Top ... |
dukesbank/ |
Duke's Bank is an online banking application which
contains two clients - a J2EE application client used
to manage customers and accounts used by administrators,
and a Web client used by customers to access account
histories and perform transactions.
|
|
Top ... |
lifecycle/ |
Lifecycle Listener (Startup)
Class Examples
|
simple/
|
Basic Lifecycle Listener class
that displays "Hello world" upon server startup.
|
jdbc/
|
Lifecycle Listener class accessing
an RDBMS via JDBC.
|
multithreaded/
|
Lifecycle Listener class accessing
an RDBMS via JDBC using threads.
|
rmiserver/
|
Lifecycle Listener class that brings up and shutdowns a remote service.
|
|
Top ... |
packaging/ |
The packaging samples demonstrates
numerous methods in which applications and components
can be packaged and deployed to the Sun Java (tm) System Application
Server.
|
|
Top ... |
i18n/ |
Internationalization and Localization
Examples
|
simple/
|
Basic J2EE web application which
demonstrates how to dynamically change the display language
based on user preference.
|
|
Top ... |
petstore1.3_01/ |
This sample application shows how to use the capabilities
of the J2EE platform to develop flexible, scalable,
cross-platform enterprise applications. Java Petstore
1.3_01 demonstrates core J2EE 1.3 features.
|
|
Top ... |
smartticket1.1.1/ |
This sample application illustrates how the J2EE platform
interoperates with the J2ME platform to create enterprise
applications that serve mobile client devices, such
as cell phones, two-way pagers, and palmtops.
|
|
Top ... |
acc/ |
Application Client Container
(ACC) Examples
|
simple/
|
Please refer to the sample in
rmi-iiop/simple for the use of
ACC.
|
|
Top ... |
|