Sun Java Solaris Communities My SDN Account Join SDN
 
Article

2001 J2EE Deployathon Online!

 
 

Articles Index | J2EE Index | J2EE Developer's Corner

Deployathon Online!

Run J2EE Deployathon Online!

Japanese Version of J2EE Deployathon Online!



Updated for 2001

J2EETM Deployathon Online! has been updated. It's now based on the latest version of the Java Pet Store application (version 1.1.2). If you've previously run J2EE Deployathon Online!, you'll notice that the updated 2001 version is easier to set up, for example, the database can now be loaded directly from the Java Pet Store application. You'll also find that Java Pet Store 1.1.2 is far more portable than the previous version; it runs in a wide variety of J2EE-compliant server products with little or no change. So try it out -- you'll be able to run the Java Pet Store 1.1.2 application on the J2EE server products highlighted in the J2EE Deployathon Online! Server list. The J2EE server products in the list that are not highlighted will be enabled for the Java Pet Store 1.1.2 application soon.

Introduction

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

If you're new to J2EE, a good place to learn about its capabilities is in J2EE 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 J2EE 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 Pages (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.

    Some of the listed J2EE server products allow you to run the Java Pet Store application immediately, that is, you don't have to do any prior setting up to run the application. These products have the entry "run it now" in the "Live Demo" column. Click on "run it now" to immediately run the Java Pet Store application in that server and platform.

  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. Or run the live demo if available. 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 enabled for the Java Pet Store 1.1.2 application. Listed servers that are not highlighted will be enabled for the Java Pet Store 1.1.2 application soon.

J2EE Product Vendor Platform Live Demo
Dynamo Application Server 5.1.1 ATG Solaris/SPARC, Windows NT Run it now
BEA WebLogic Server 6.1 BEA Systems Solaris/SPARC, Windows NT  
Borland AppServer 4.5 Borland Solaris/SPARC, Windows NT, Windows 2000, Linux  
Total-e-Server Release 7.3 HP-Bluestone Solaris/SPARC, HP-UX Run it now
Total-e-Server Release 7.3 HP-Bluestone Windows NT, Windows 2000 Run it now
In-Q-My Application Server 4.1 In-Q-My Technologies Solaris/SPARC, Windows NT, Windows 2000, Linux Run it now
Oracle9i Application Server 1.0.2.2 Oracle Solaris/SPARC, Windows NT, Windows 2000, Linux, HP-UX, AIX, Compaq Tru64 UNIX  
SilverStream Application Server 3.7.2 SilverStream Solaris/SPARC, Windows NT, Windows 2000, Linux, AIX, HP-UX Run it now
iPlanet Application Server Sun Microsystems Solaris/SPARC, Windows NT  
Java 2 SDK, Enterprise Edition 1.2.1 for Solaris Sun Microsystems Solaris/SPARC  
Enterprise Application Server Sybase Windows NT  
Trifork Enterprise Application Server Trifork Technologies Solaris/SPARC, Windows NT, Windows 2000, Linux Run it now

A Note About J2EE Products

Only products that have been tested successfully against the compatibility test suite (CTS) provided with J2EE can be called J2EE products. For a list of J2EE products see Java 2 Platform, Enterprise Edition Compatibility. 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.

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.

Support

The j2eeblueprints interest list is the place to get answers to questions about running J2EE Deployathon Online! To join the interest list, send an email to listserv@java.sun.com. Specify subscribe j2eeblueprints-interest yourlastname yourfirstname in the body of the email.

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