Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Technical Articles

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
Print Button
 
Articles Index | J2EE Index | J2EE Tech Center

J2EETM Deployathon Online!

by MDE Enterprise JavaTM APIs Team

Run J2EE Deployathon Online!


Introduction

J2EETM Deployathon Online! is a demonstration of application portability across servers that comply with the JavaTM 2 Platform, Enterprise Edition (J2EETM) specifications. The J2EE platform defines the standard for developing multitier enterprise applications. It builds on the base of JavaTM 2 Platform, Standard Edition and adds enterprise technologies such as EJBTM technology, Java Naming and Directory InterfaceTM (JNDI), and JDBCTM. The J2EE platform provides "write once, run anywhere" capability for JavaTM components on the server.

If you're new to J2EE, a good place to learn about its capabilities is in J2EETM Blueprints Digest. You can find other J2EE learning materials in the J2EE Technology Center Home Page

One of the important deliverables for the J2EE platform is the J2EETM Blueprints. The J2EE Blueprints provide an integrated set of documentation and examples that describe and illustrate the best practices for developing and deploying applications using the J2EE platform. Accompanying the Blueprints is a sample application that illustrates the capabilities of the J2EE platform. The sample application, called Java Pet Store, models an e-commerce application for ordering pets. This is the application that is used in J2EE Deployathon Online! You'll be able to run this application in various J2EE-compliant servers, and by doing that you'll see that the application runs with little or no change. In other words, you'll validate J2EE's promise of portability across servers that implement the J2EE specifications.

Why is Portability Important?

Portability is one of the most attractive aspects of the Java programming language. Applications coded in the Java language can run unchanged in many different types of stand-alone or client operating environments. J2EE extends the portability benefits of the Java language to the enterprise. It allows you to run applications across different types of J2EE-compliant servers. Given the large investment most businesses have in client-server applications, J2EE can save companies a lot of development time and money. With J2EE's portability features, there's little or no need to rewrite code for different servers.

Java Pet Store

Java Pet Store is a sample application that demonstrates the capabilities of the J2EE platform. It's an e-commerce application that enables customers to purchase pets on the Web. Customers can scan the pet store's inventory of pets, add one or more items to their "shopping cart," and then "check out" by confirming the order and supplying billing and shipping information.

Java Pet Store illustrates many of the features of J2EE, such as JavaServer PagesTM (JSPTM) and EJB technology. It is also a good example of J2EE application design, one that follows the best practices described in the J2EE Blueprints. You can examine the source code for the application; it's available with the Java Pet Store download. You download the application as one of the steps when you run J2EE Deployathon Online!

petstore image

Run J2EE Deployathon Online!

  1. Select a J2EE server product from the J2EE Deployathon Online! server list in the table below. This links you to the instructions for setting up and running the Java Pet Store application in the server and platform you select. The instructions cover steps such as downloading, installing, and configuring the server and the application, and describes how to start the application.

  2. After you sucessfully run Java Pet Store in the server of your choice, try running the application in another J2EE server. Select another J2EE server product from the J2EE server list, follow the instructions for setting up and running Java Pet Store in this new server, then start the application. Notice that the code runs with little or no change. Some changes are required to the source code for some J2EE servers. The changes are described in the instructions for that server. These changes are relatively minor and occur mainly in the area of security. One of the aims of J2EE Deployathon Online! is to continue to improve portability so that no changes are required to J2EE application source code across J2EE servers.

J2EE Deployathon Online! Server List

Select a highlighted server; these servers are currently available. The list will be updated as other J2EE server products become available.

J2EE Product Vendor Platform
Java 2 SDK, Enterprise Edition 1.2.1 for Solaris Sun Microsystems Solaris/SPARC
Enterprise Application Server (EAServer) 3.6 beta Sybase Solaris/SPARC, Windows NT
Total-e-Server Release 7.0 for Solaris Bluestone Solaris/SPARC
iPlanetTM Application Server 6.0 (IAS 6.0) Sun Microsystems Solaris/SPARC
BEA WebLogic Server 5.1 BEA Systems Solaris/SPARC, Windows NT
Dynamo Application Server Art Technology GroupSolaris/SPARC
iPortal Application Server IONA TechnologiesSolaris/SPARC
INTERSTAGEFujitsu LimitedSolaris/SPARC

A Note About J2EE Server Products

Only a few vendors have tested their server products against the compatibility test suite (CTS) provided with J2EE. Products that are successfully tested this way can be called J2EE products. However, all of the products in the J2EE Deployathon Online! server list are believed to reliably implement the J2EE specifications. In fact successfully running Java Pet Store with a server in the list suggests that the server will run successfully against the CTS.

However, running the application with the server does not substitute for actually testing the server against the CTS. J2EE Deployathon Online! is not intended to guarantee the portability features of a J2EE product or solution. J2EE Deployathon Online! is designed to demonstrate the portability built into J2EE and to help developers produce portable J2EE components and applications.

About the Authors

The MDE Enterprise Java APIs Team is a group of Sun engineers who, working closely with Sun's independent software vendors, such as Oracle and BEA, are focused on bringing Sun's J2EE technology story to market.

Back to Top


Reader Feedback

Tell us what you think of this article. Please include system and contact information if you'd like to report a problem.

Duke

Email Address:

  

Tell us what you think of this article:

Very valuable Valuable Not Valuable

Please type comments or report problems below:

Have a question about JavaTM programming? Use Java Online Support.


Print Button
[ This page was updated: 21-Sep-2000 ]
Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary | Feedback | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2000 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.