Sun ONE logo     Previous      Contents      Index      Next     
Sun ONE Application Server 7, Standard Edition Sun[tm] ONE Studio 4, Enterprise Edition for Java[tm] with Application Server 7 Tutorial



Contents

About This Guide

What You Should Know
How This Guide is Organized
Documentation Conventions

Introducing Sun ONE Studio 4, Enterprise Edition for Java

Sun ONE Studio 4 Integration with Sun ONE Application Server 7

Setting Up Your Development Environment

Sun ONE Studio 4 and Application Server Integration
Installing the IDE Plugin
Connecting the IDE to Application Server Deployments
Setting Up Your Development Environment
Install Sun ONE Studio 4, Enterprise Edition for Java
Install IDE Plugin
Application Server and IDE Installed on Same Machine
Download Plugin from the Sun ONE Studio Update Center
Install the Plugin Using the Sun ONE Application Server 7 Installer
Application Server Installed on Remote Development Server
Register Target Application Server
Start the Application Server
Start the Application Server on Windows Platforms
Start the Application Server on UNIX Platforms
Start the IDE
Start the IDE on Windows Platforms
Start the IDE on UNIX Platforms
Set Sun ONE Application Server as the Default Server
Ensure Plugin is Configured with Application Server Installation Directory
Register a Sun ONE Application Server
Verify that the Application Server Instance is Running

Developing Session Beans and Web Applications

Becoming Familiar with the Sample
Creating a Session Bean with the EJB[tm] Builder
Create the Session Bean
Modify JNDI Name
Modify Automatically Generated Methods
Create a Business Method
Testing the Session Bean
Create the Test Client
Deploy the Test Client
Run the Test Client
Packaging the Enterprise Bean in an EJB[tm] Module
Creating the Web Application
Create the Web Module
Create Servlets
Create GreeterDBServlet
Create GreeterDBLogDisplayServlet
Define Servlet Mappings
Create HTML and JSP Files
Define EJB Reference
Define JDBC Resource Reference
Assembling the J2EE[tm] Application
Setting Up Database Connectivity
Configure the JDBC Driver
Define the JDBC Connection Pool
To determine whether or not the connection pool has already been registered:
To register the JDBC connection pool:
Define the JDBC Resource
To determine whether or not a suitable JDBC resource has already been registered:
To register the JDBC resource (referred to as a JDBC "DataSource" in the IDE):
Start the PointBase Server Database
Deploying and Running the J2EE[tm] Application
Disable EJB Test Application
Define Web Context Root
Deploy the Application
Run the Application
Modifying the Application
Modify HTML File
Modify JavaServer Pages[tm] (JSP[tm]) File
Modify Servlet
Modify EJB
Debugging the Application
Prepare Web Module for Debugging
Start the Debugger
Debug the EJB
Debug a JSP
Stop the Debugger

Summary

Index


Previous      Contents      Index      Next     
Copyright 2002 Sun Microsystems, Inc. All rights reserved.