Before You Begin |
Welcome to the Forte for Java
, Community Edition tutorial. In this tutorial, you will learn how to use the features introduced in the Community Edition, namely:
You can create the examples in this book in the environments listed in the release notes on the following web site:
http://forte.sun.com/ffj/documentation/index.html
Screen shots vary slightly from one platform to another. You should have no trouble translating the slight differences to your platform. Although almost all procedures use the Forte for Java 4 user interface, 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 |
To translate for UNIX® or Linux environments, simply change the prompt and use forward slashes:
% 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 Forte for Java 4, Community 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 install the tutorial database tables, shows how to start the Forte for Java 4 integrated development environment (IDE), and how to verify that the IDE is using the correct web server. This chapter includes a descriptive list of the installed Forte for Java 4 directories.
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.
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. |
||
Forte for Java 4 documentation includes books delivered in Acrobat Reader (PDF) format, online help, Readme files of example applications, and Javadoc documentation.
The documents in this section are available from the Forte for Java portal and the docs.sun.comSM web site.
The documentation link of the Forte for Java Developer Resources portal is at http://forte.sun.com/ffj/documentation/. The docs.sun.com web site is at http://docs.sun.com.
You can also find the completed tutorial applications at http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
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 installed with the product on your local system or network.
Online help is available inside the Forte for Java 4 development environment. You can access it by pressing the help key (Help on Solaris, F1 on Microsoft Windows and Linux), or by choosing Help Contents. Either action displays a list of help topics and a search facility.
You can download several examples that illustrate a particular Forte for Java 4 feature, as well as completed tutorial applications--including the applications described in Forte for Java 4, Enterprise Edition Tutorial and this document--from the Developer Resources portal, at http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
Javadoc documentation is available within the IDE for many Forte for Java 4 modules. Refer to the release notes for instructions on installing this documentation. When you start the IDE, you can access this Javadoc documentation within the Javadoc pane of the Explorer.
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 (816-4058-10) of your document in the subject line of your email.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.