Home > Store

Getting Started with Sun One

Register your product to gain access to bonus material or receive a coupon.

Getting Started with Sun One

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-089390-0
  • ISBN-13: 978-0-13-089390-1

  • The definitive guide to delivering Sun ONE product solutions
  • Deploying Sun ONE Application Server, Directory Server, and Web Server
  • Delivering Java(tm)-based applications and services with Sun ONE Studio 4
  • Planning, design, installation, configuration, testing, and more
  • DVD-ROM: Complete Sun ONE Starter Kit for Solaris(r), Linux, and Windows
The definitive guide to building business solutions with Sun ONE technologies

Direct from Sun, this is your step-by-step guide to delivering high-value solutions based on Sun ONE technologies. Sun ONE technical specialist Stacy Thurston brings together Sun's best practices for planning, designing, configuring, integrating, and implementing Sun ONE Internet infrastructures. Drawing on his immense experience supporting Sun ONE customers, Thurston offers new insight into the Sun ONE Application Server, Directory Server, and Web Server, and expert guidance on building business applications with Sun ONE Studio 4. Coverage includes:

  • Installing and configuring the Sun ONE Web Server to serve the specific requirements of your environment
  • Delivering dynamic content with CGI, Java(tm) servlets, and JSPs
  • Administering Sun ONE Directory Server databases
  • Configuring and deploying applications on the Sun ONE Application Server
  • Using Sun ONE Studio 4 to develop high-performance Java applications and Web applications
  • Establishing efficient data flows, application designs, and business information architectures

Getting Started with Sun ONE is an indispensable resource for everyone considering or utilizing Sun ONE products: analysts and decision-makers planning new systems; project managers deploying Internet infrastructure; and developers creating prototypes and delivering production-quality systems.

DVD-ROM INCLUDED

The accompanying DVD-ROM contains the complete Sun ONE Starter Kit, with over 8.5 GB of software, educational materials, and code samples. It includes a full-version evaluation copy of the latest version of Sun ONE Application Server, as well as complementary tools and Java technologies for Solaris(r), Linux, and Windows systems.

Sample Content

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents



Foreword.


Preface.


A “How to” Book.


Building a Web Site.


Project Using a Directory Database.


About the Included DVD.


Acknowledgments.


1. Sun Open Net Environment (Sun ONE).

What Is Sun ONE? Middleware Orientation. Sun ONE Reference Material.



2. Transition from Netscape to iPlanet to Sun ONE.

Corporate Transition. The Netscape Browser and Servers. The Transition Period from iPlanet to Sun ONE. From the Sun-Netscape Alliance to Sun ONE. Famous People of the Internet.



3. The Sun ONE Web Server.

Connection Management. SAF Process. Summary.



4. Installing the Sun ONE Web Server 6.0.

SUN Solaris UNIX Installation. Windows Installation.



5. Starting, Stopping, and Testing the Sun ONE Web Server.

Starting and Stopping the Web Servers On UNIX. Sun ONE Web Server Administration Server. Web Browser Test. Summary.



6. Configuring the Sun ONE Web Server for Static Content.

The Static Content SAF. The SAF Decision Process. MIME Types. Summary.



7. Configuring the Sun ONE Web Server for Dynamic Content.

Setting Up a CGI-BIN Directory. Running the Hello World Servlet. Running JSPs. Summary.



8. The Sun ONE Directory Server.

Application Membership. Spreading Directory Data Around. Summary.



9. Installing the Sun ONE Directory Server 5.

Installation Setup Values. Sun Solaris UNIX Installation. Windows Installation. Starting and Stopping the Servers. Using the Console. Uninstalling the Server.



10. Using the Sun ONE Directory Database: The Console.

Adding User Data into the Directory. Administering the Directory Server Instance. Adding an Organization Unit and Adding Data. LDIF Save and Restore. Summary.



11. Using the Sun ONE Directory Database: Directory Data Structures.

Directory Data Structure Language. Modifying the Directory Schema. Creating a New Directory Server Instance. Summary.



12. Restricting Web Site Access to Privileged Directory Members.

Connecting the Web Server to the Directory Server. Managing Directory Members and Groups Using a Web Browser. Creating an Access Control List. Summary.



13. The Sun ONE Application Server 7.

Application Communications. Processing Client Requests. Application Programming. Summary.



14. Installing the Sun ONE Application Server 7.

UNIX Command-Line Installation. Windows Installation-GUI Installation.



15. Starting, Stopping, and Testing the Sun ONE Application Server.

Starting and Stopping Server Processes in UNIX. Starting and Stopping Server Processes in Windows. Sun ONE Application Server Administration Server. Summary.



16. Configuring the Sun ONE Application Server's Web Server Features.

HTTP Server Configurations. The Static Content SAF. Setting Up a CGI-BIN Directory. Running JSPs. Standalone Servlets. User Document Root Directories. Summary.



17. Sun ONE Application Server and Administration Hierarchy.

Application Server Instance. Adding a New Listener and Virtual Server. Multiple Hostnames on One IP Address on One Port. Summary.



18. Using Sun ONE Studio 4 to Develop Web Applications. Deploying a Sample Web Application. Before We Begin Developingú. Creating a Web Application with Sun ONE Studio 4. Exercise: Expanding the Web Application. Summary.


19. The Sun ONE Application Server 6.5.

Sun ONE Application Server 6.5 Components. Setting Up a Sun ONE Application Server. Multiple Application Server Setup. Summary.



20. Installing Sun ONE Application Server 6.5, Test Drive Edition.

Preinstallation Notesú. UNIX Installation. Windows Installation (WinNT).



21. Testing and Administration.

Starting, Viewing, and Stopping Processes. Testing the Installation. Viewing the Log Files. Sun ONE Application Server Administration Tool. Summary.



22. Deploying Programs into the Sun ONE Application Server 6.5.

Deploying a Servlet into the Application Server. Add a JSP into the Hello World Application. Demonstrating Separation of Processing a Request and Formatting a Response (a Servlet Forwarding a Request to a JSP). Compile the Servlet. Add the Servlet Files into the Hello World Application. Redeploy Hello World. Test. Testing the Servlets that Have Been Deployed. Development Note.



Epilogue.

Powerful and Free. Now It Is Time to Do Some Real Work. Tasks Completed in This Book.



Index.


About the Author.


About the DVD.

Preface

Preface

The core Internet servers that make up most of the World Wide Web are the web server, the directory server, and the application server. This book describes these servers and explains how to start using them.

This book shows you how to set up and create web sites and web site, applications as well as how to administer a directory server (a specialized database). These servers are the basic infrastructure for corporate web applications and Internet Service Providers (ISPs). This infrastructure works for both personal web sites (at home or in the office) and company web sites or company web applications. To make the learning experience faster, easier, and more complete, I conclude descriptions of Internet web site designs, with many illustrations and example configurations. I include information about installing, configuring, testing, and using

  • The Sun Open Net Environment (ONE) Web Server
  • The Sun ONE Directory Server
  • The Sun ONE Application Server
  • The Sun ONE Studio

The web server and application server are for hosting web sites and applications; the directory server manages data; Sun ONE Studio is for developing web site applications. Because these are core Internet products, you should gain core Internet skills!

You should find the server configurations in this book instructive and useful. Practical exercises will help you learn by doing.

This book is written for computer administrators and developers who need to set up and configure prototypes, proof of concept, and production systems. Business and systems analysts can read about sample designs and example applications that work over the Internet while project managers can get a sense of which tools and skill sets are required to set up a web site infrastructure.

A "How to" Book

This book's success will be measured by the skills you gain from reading it. In preparing the manuscript, I had a person test the instructions for using the Sun ONE Studio to create a web application who had never used the Sun ONE Studio before. The results were very positive--he commented that he is now comfortable creating web applications and wants to try doing more things with the Sun ONE Studio product.

One of the book's highlights is the section on the Sun ONE Directory Server. It has chapters on working with the directory data and the directory schema (data structure). This is an important topic, and yet I have not found another source that covers it as completely. For administrators and developers who work with the servers, I have included instructions on installing and configuring servers. In the section on the Sun ONE Application Server, you will see how, once the server is installed, you can create web applications in a matter of minutes. I have made these chapters as complete as possible --you start with a computer, install software, configure it, test it, and then use it. Once you start to use it, you will continue to gain more skills with the major services of the Internet--skills such as setting up a web site.

I have tested the material in the book using Microsoft Windows 2000 and the Solaris 8 Operating Environment, UNIX. On MS Windows NT, I have tested the Sun ONE Web Server and Sun ONE Directory Server. On Linux, I have tested the Sun ONE Web Server and Sun ONE Directory Server.

Building a Web Site

Everything is included with this book--software and instructions--for building a web site. Setting up a web site, includes the following steps:

  1. Select the software to create a web site. The software is included on the DVD and/or you can download the software from the Sun Microsystems web site.
  2. Set up and configure a web server or an application server.
  3. Create the web site using HyperText Markup Language (HTML) web pages and graphics.
  4. 4Create an application using Java servlets, Java Server Pages (JSPs), and Common Gateway Interface (cgi) programs.
Project Using a Directory Database

Some of the projects in this book extend through a number of the book's chapters. The setup in Figure P.1 is first established in the web server section. In the directory server section, another piece is added. Once each server is set up and tested, the servers are linked together. Web site members are maintained in the directory, and restrictions are set up to restrict access to the member areas of the web site.

About the Included DVD

The DVD is the Sun ONE Developer kit; it contains many developer tools, including the software you need for this book. Among these tools are the Sun ONE

  • Web Server 6.0
  • Directory Server 5
  • Application Server 7
  • Studio 4

Index

Download the Index file related to this title.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.