FAQ
History |
Previous Home Next |
Search
Feedback |
DividerAbout This Tutorial
This tutorial is a beginner's guide to developing J2EE applications for the SunTrademarked Open Networking Environment (Sun ONE) platform. Here we cover all the things you need to know to make the best use of this tutorial.
Who Should Use This Tutorial
This tutorial is intended for programmers interested in developing J2EE applications using the Sun ONE platform. Specifically, it uses the Sun ONE Studio 4, Enterprise Edition for Java to develop J2EE applications and deploy them on Sun ONE Application Server 7.
Note: This release of the tutorial includes information on Web applications and Web services. A future release will add coverage of Enterprise JavaBeans technology and J2EE platform services such as transactions, security, resources, and connectors.
This tutorial is not a comprehensive introduction to Sun ONE platform software. It focuses on teaching the concepts of J2EE technologies through an extensive set of examples and provides basic instructions in how to use the software so that you can develop, configure, build, deploy, and run the examples. To learn how to use the software, see the resources listed in Further Information.
Prerequisites
To understand this tutorial you will need a good knowledge of the Java programming language, SQL, and relational database concepts. The topics listed in Table P-1 The JavaTrademarked Tutorial are particularly relevant:
Table P-1 Relevant Topics in The JavaTrademarked Tutorial Topic Web Page JDBCTrademarked Threads JavaBeansTrademarkedHow to Read This Tutorial
This tutorial is organized into the following sections:
- Introduction
These chapters introduce the J2EE platform and the fundamentals of Web applications. They are prerequisites for the rest of the tutorial.
- Overview
- Web Applications
- Web Technology
These chapters cover the technologies used in developing presentation-oriented Web applications.
- Java Servlets
- JavaServer Pages
- JSP custom tags
- The JSP Standard Tag Library (JSTL)
- Java Web Services Technology
These chapters cover the technologies used in developing service-oriented Web applications.
- Defining RPC-oriented Web services with the Java API for XML-based RPC (JAX-RPC).
- Defining message-oriented Web services with the Java API for XML Messaging (JAXM) and Soap with Attachments API for Java (SAAJ).
- Publishing and discovering RPC-oriented Web services.The Java API for XML Registries (JAXR)
- Case Study
The Coffee Break Application chapter describes an application that ties together most of the APIs discussed in this tutorial.
About the Examples
If you are viewing this online, you need to download The J2EETrademarked Tutorial for the Sun ONE Platform from:
Once you have unzipped the tutorial bundle, the example source code is in the <
INSTALL
>/j2eetutorial/examples
directory, with subdirectories for each of the technologies. Note that <INSTALL
> is the directory in which you unzipped the bundle.To build the examples you need a copy of Sun ONE Studio 4 update 1, Enterprise Edition for Java. You download a free trial copy of this edition of Studio from:
To deploy and run the examples, you need a copy of Sun ONE Application Server 7, Platform Edition or Standard Edition. Sun ONE Application Server 7, Platform Edition is free for development and deployment, but does not allow remote management. Sun ONE Application Server 7, Standard Edition is free for development and evaluation and supports remote management. You can download either edition of the application server from:
To deploy the examples from Sun ONE Studio to Application Server 7, you also need to install the Sun ONE Application Server 7 Plugin into Studio. You can get the Plugin from the Studio Update Center or the Application Server 7 installation. SunTrademarked ONE Studio 4, Enterprise Edition for JavaTrademarked with Application Server 7 Tutorial contains information on how to install the Plugin.
Further Information
Each chapter in the tutorial contains pointers to additional resources on the technologies described in the chapter.
For basic information on how to use Sun ONE Studio with Sun ONE Application Server 7 see SunTrademarked ONE Studio 4, Enterprise Edition for JavaTrademarked with Application Server 7 Tutorial located at
<S1AS7_HOME>/docs/studio-tutorial/index.html
.For further information on the Sun ONE platform components see the following resources.
Sun ONE Application Server 7
- Getting Started with SunTrademarked ONE Application Server 7 located at
<
S1AS7_HOME
>/docs/getting-started/index.html
How to Print This Tutorial
To print this tutorial, follow these steps:
- Ensure that Adobe Acrobat Reader is installed on your system.
- Open the PDF version of this book.
- Click the printer icon in Adobe Acrobat Reader.
Typographical Conventions
Table P-2 lists the typographical conventions used in this tutorial.
Table P-2 Typographical Conventions Font Style Uses italic Emphasis, titles, first occurrence of termsmonospace
URLs, code examples, file names, command names, programming language keywordsitalic monospace
Variable file namesMenu selections indicated with the right-arrow character Right Arrow, for example, FirstRight ArrowSecond, should be interpreted as: select the First menu, then choose Second from the First submenu.
FAQ
History |
Previous Home Next |
Search
Feedback |
All of the material in The J2EE Tutorial for the Sun ONE Platform is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.