Before You Begin

This document provides installation instructions for the Suntrademark Open Net Environment (Sun ONE) Studio 4 update 1, Enterprise Edition for Javatrademark integrated development environment (IDE). This product is hereafter referred to as "Sun ONE Studio 4 IDE" or "the IDE." Topics covered include:

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. You should have no trouble translating the slight differences to your platform. Although almost all procedures use the interface of the Sun ONE Studio 4 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

To translate for UNIX® or Linux environments, simply change the prompt and use forward slashes:

% cd MyWorkDir/MyPackage


Before You Read This Book

Before you continue with the rest of this guide, you should be familiar with the process of installing and uninstalling software products on the platforms you choose to use with this release of the Sun ONE Studio 4 product. You need familiarity with some system administrative commands, such as:

  • patchadd, pkgadd, patchrm, and pkgrm utilities in the Solaristrademark operating environment
  • Add/Remove Program utility on Microsoft Windows systems
  • rpm command in the Linux environment

If you are unsure about the system administrative commands for your environment or system, contact your system administrator for assistance with the instructions contained in this guide.



Note - Sun is not responsible for the availability of third-party web sites mentioned in this document and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services available on or through any such sites or resources.




How This Book Is Organized

Chapter 1 gives an overview of the general installation process and information on system requirements for Sun ONE Studio 4, Enterprise Edition for Java.

Chapter 2 provides instructions on installing and uninstalling the J2SE, v. 1.4.0_02 platform on your system.

Chapter 3 describes the steps to install the Sun ONE Studio 4 IDE on the supported platforms. The subdirectories installed with the IDE are described and uninstallation instructions are also provided.

Chapter 4 gives instructions on how to start and set up the newly installed Sun ONE Studio 4 IDE. The command-line options are provided and information about product registration is also included.

Chapter 5 steps you through the validation of the Sun ONE Studio 4 IDE installation by using a J2EEtrademark Reference Implementation 1.3.1 instance during the creation of a simple HelloWorld application.

Chapter 6 provides some information for customizing your IDE installation using the embedded PointBase Restricted Edition 4.2 database and the internal UDDI registry server.

Chapter 7 provides some information about using the Sun ONE Application Server 7 with the IDE.

Chapter 8 gives information on integrating other application servers with the IDE.

Chapter 9 describes steps to update the IDE modules using the Sun ONE Studio Update Center. Information about other documentation resources is also included in this chapter.

Chapter 10 provides you with some troubleshooting hints to assist you with problems you might encounter during the installation and setup process.

Appendix A lists the patches for the Solaris 8 operating environment that are included with the Solaris patch installer for the Solaris operating environment (SPARCtrademark platform).

Appendix B lists the default port assignments used by the Sun ONE Studio 4 modules, third-party components, and application servers available for use with the IDE.


Typographic Conventions

Typeface

Meaning

Examples

AaBbCc123

The names of commands, files, and directories; on-screen computer output

Edit your .cvspass file.

Use DIR to list all files.

Search is complete.

AaBbCc123

What you type, when contrasted with on-screen computer output

> login

Password:

AaBbCc123

Book titles, new words or terms, words to be emphasized

Read Chapter 6 in the User's Guide.

These are called class options.

You must save your changes.

AaBbCc123

Command-line variable; replace with a real name or value

To delete a file, type DEL filename.



Related Documentation

Sun ONE Studio 4 documentation includes books delivered in Acrobat Reader (PDF) format, release notes, online help, readme files for example applications, and Javadoctrademark documentation.

Documentation Available Online

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 (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 installed with the product on your local system or network.

  • Release notes (HTML format)
Available for each Sun ONE Studio 4 edition. Describe last-minute release changes and technical notes.
  • Getting Started guides (PDF format)
Describe how to install the Sun ONE Studio 4 integrated development environment (IDE) on each supported platform and include other pertinent information, such as system requirements, upgrade instructions, application server instructions, command-line switches, installed subdirectories, database integration, and information on how to use the Update Center.
    • Sun ONE Studio 4, Community Edition Getting Started Guide - part no. 816-7871-10
    • Sun ONE Studio 4, Enterprise Edition for Java Getting Started Guide - part no. 816-7859-10
    • Sun ONE Studio 4, Mobile Edition Getting Started Guide - part no. 816-7872-10
  • Sun ONE Studio 4 Programming series (PDF format)
This series provides in-depth information on how to use various Sun ONE Studio 4 features to develop well-formed applications for the Java 2 Platform, Enterprise Edition (J2EEtrademark platform).
    • Building Web Components - part no. 816-7869-10
Describes how to build a web application as a J2EE web module using JavaServer Pagestrademark(JSPtrademark) technology, servlets, tag libraries, and supporting classes and files.
    • Building J2EE Applications - part no. 816-7863-10
Describes how to assemble Enterprise JavaBeanstrademark (EJBtrademark) modules and web modules into a J2EE application, and how to deploy and run a J2EE application.
    • Building Enterprise JavaBeans Components - part no. 816-7864-10
Describes how to build EJB components (session beans, message-driven beans, and entity beans with container-managed or bean-managed persistence) using the Sun ONE Studio 4 EJB Builder wizard and other components of the IDE.
    • Building Web Services - part no. 816-7862-10
Describes how to use the Sun ONE Studio 4 IDE to build web services, to make web services available to others through a UDDI registry, and to generate web service clients from a local web service or a UDDI registry.
    • Using Java DataBase Connectivity - part no. 816-7870-10
Describes how to use the JDBCtrademark productivity enhancement tools of the Sun ONE Studio 4 IDE, including how to use them to create a JDBC application.
  • Sun ONE Studio 4 tutorials (PDF format)
These tutorials demonstrate how to use the major features of each Sun ONE Studio 4 edition.
    • Sun ONE Studio 4, Community Edition Tutorial - part no. 816-7868-10
Provides step-by-step instructions for building a simple J2EE web application.
    • Sun ONE Studio 4, Enterprise Edition for Java Tutorial - part no. 816-7860-10
Provides step-by-step instructions for building an application using EJB components and Web Services technology.
    • Sun ONE Studio 4, Mobile Edition Tutorial - part no. 816-7873-10
Provides step-by-step instructions for building a simple application for a wireless device, such as a cellular phone or personal digital assistant (PDA). The application will be compliant with the Java 2 Platform, Micro Edition (J2MEtrademark platform) and conform to the Mobile Information Device Profile (MIDP) and Connected, Limited Device Configuration (CLDC).

You can also find the completed tutorial applications at: http://forte.sun.com/ffj/documentation/tutorialsandexamples.html

Online Help

Online help is available inside the Sun ONE Studio 4 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 right arrow Contents. Either action displays a list of help topics and a search facility.

Examples

You can download examples that illustrate a particular Sun ONE Studio 4 feature, as well as completed tutorial applications, from the Sun ONE Studio Developer Resources portal at:

http://forte.sun.com/ffj/documentation/tutorialsandexamples.html

Javadoc Documentation

Javadoc documentation is available within the IDE for many Sun ONE Studio 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 Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions. Email your comments to Sun at this address:

docfeedback@sun.com

Please include the part number (816-7859-10) of your document in the subject line of your email.