Before You Begin |
Welcome to the Sun ONE Studio 5 Web Application tutorial. In this tutorial, you will learn how to use the features introduced in Sun ONE Studio 5, Standard Edition, namely:
See the release notes for a list of environments in which you can create the examples in this book. The release notes are available on this web page:
http://forte.sun.com/ffj/documentation/index.html
Screen shots vary slightly from one platform to another. Although almost all procedures use the interface of the Sun ONE Studio 5 software, occasionally you might be instructed to enter a command at the command line. Here too, there are slight differences from one platform to another. For example, a Microsoft Windows command might look like this:
c:>cd MyWorkDir\MyPackage |
A UNIX command might look like this:
% cd MyWorkDir/MyPackage |
This tutorial creates a simple web application that interacts with a database and displays dynamically generated content. The design and architecture conforms to the Java 2 Platform, Enterprise Edition (J2EE) Blueprints. If you want to learn how to use the features of Sun ONE Studio 5, Standard Edition to build the components of a web application, you will benefit from working through this tutorial.
Before starting this tutorial, you should be familiar with the following subjects:
This book requires a knowledge of Java Servlet and JavaServer Pages concepts, including web applications. The following resources define these concepts:
For the JSTL tutorial, as well as links to other useful information, see: http://jakarta.apache.org/taglibs/tutorial.html
This manual is designed to be read from beginning to end. Each chapter in the tutorial builds upon the code developed in earlier chapters.
Chapter 1 describes the software requirements for the CDShopCart tutorial, explains how to start the Sun ONE Studio 5 integrated development environment (IDE), and how to start the Sun ONE Application Server web server. This chapter also describes how to create the tutorial database table.
Chapter 2 describes the architecture of the CDShopCart application.
Chapter 3 provides step-by-step instructions for creating the CDShopCart application, a simple online shopping cart application for the purchase of music CDs.
Appendix A provides complete source files for the tutorial application.
Appendix B provides database script files for the tutorial application.
Appendix C describes how to adapt the tutorial to create and run the application using an Oracle database.
The names of commands, files, and directories; on-screen computer output |
||
What you type, when contrasted with on-screen computer output |
||
Read Chapter 6 in the User's Guide. |
||
Sun ONE Studio 5 documentation includes books delivered in Acrobat Reader (PDF) format, release notes, online help, readme files for example applications, and Javadoc documentation.
The documents described in this section are available from the docs.sun.comSM web site and from the documentation page of the Sun ONE Studio Developer Resources portal at http://forte.sun.com/ffj/documentation.
The docs.sun.com web site (http://docs.sun.com) enables you to read, print, and buy Sun Microsystems manuals through the Internet. If you cannot find a manual, see the documentation index that is installed with the product on your local system or network.
You can also find the completed tutorial applications at: http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
Online help is available in the Sun ONE Studio 5 IDE. You can open help by pressing the help key (F1 in Microsoft Windows and Linux environments, Help key in the Solaris environment), or by choosing Help Contents. Either action displays a list of help topics and a search facility.
You can download examples that illustrate a particular Sun ONE Studio 5 feature, as well as completed tutorial applications, from the Sun ONE Studio Developer Resources portal at:
http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
The site includes the applications that are used in this document.
Javadoc documentation is available within the IDE for many Sun ONE Studio 5 modules. Refer to the release notes for instructions on installing this documentation.
The documentation is provided in accessible formats that are readable by assistive technologies for users with disabilities. You can find accessible versions of documentation as described in the following table.
HTML at http://docs.sun.com |
|
HTML in the example subdirectories of s1studio-install-directory/examples |
|
HTML at http://docs.sun.com |
If you have technical questions about this product that are not answered in this document, go to:
http://www.sun.com/service/contacting
Sun is interested in improving its documentation and welcomes your comments and suggestions. Email your comments to Sun at this address:
Please include the part number (817-2320-10) of your document in the subject line of your email.
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.