Tools Guide  

Contents

About This Book

Purpose
Audience
Prerequisites
Organization

Chapter 1    Workbench Basics

What Workbench provides
Workbench panes
Basic Workbench operations
Starting and stopping Workbench
Using proxy servers
Opening, saving, and closing projects and files
Workbench wizards
Standard Workbench editors
About the Workbench source editors
Debugger
Workbench viewers
Image Viewer
Class Viewer
Web Service tools
Setting preferences
General preferences
Build preferences
Display preferences
Text editing preferences
Printing preferences
Deployment preferences
Abbreviations preferences
File type preferences
Backup preferences
Version control preferences
Editor setup preferences
NetBeans directories preferences
XML Editor color preferences
Setting Workbench profiles
Server profile
Database profile
Registry profile
Using version control
Setting up access to version control
Accessing version control
Maintaining Todo lists
Working in the Todo tab
Working with generated items
Specifying a debugger
Specifying the command
Using Ant
What is Ant?
Using the Workbench Ant tools
Examples
Internationalization support
Specifying fonts
Extending the Workbench toolset and services

Chapter 2    Projects and Archives

About projects and archives
Organizing projects
Project design considerations
Project directory structure considerations
Creating projects and subprojects
Creating a deploy-only project
Working with existing source files
Populating projects
Creating source files
Adding to projects
Viewing projects
Maintaining projects
Opening a project
Managing general project settings
Managing project content settings
Removing files, directories, and subprojects from projects
Renaming a project
Compiling, building, and archiving
Setting up your Workbench environment
Using the commands
Validating archives

Chapter 3    Archive Deployment

Workbench-supported J2EE servers
Workbench deployment types
Using Workbench to deploy J2EE archives
Archive contents
Creating deployment settings
What Workbench does when you deploy a project
Deploying Web Services
Undeploying archives

Chapter 4    Component Wizards

EJB Wizard
About the EJB Wizard
Starting the EJB Wizard
Panel sequence
Panel reference
JSP Wizard
About the JSP Wizard
Starting the JSP Wizard
Specifying the JSP page name and other options
Specifying the project, directory, and package
Specifying imports
What happens
Servlet Wizard
About the Servlet Wizard
Starting the Servlet Wizard
Specifying the class name and other servlet options
Specifying the project, directory, and package
Specifying which HttpServlet methods to override
Specifying which interfaces to implement
Specifying which classes and packages to import
Java Class Wizard
About the Java Class Wizard
Starting the Java Class Wizard
Specifying the class name and other options
Specifying which interfaces to implement
Specifying which classes and packages to import
Specifying the project, directory, and package
JavaBean Wizard
About the JavaBean Wizard
Starting the JavaBean Wizard
Specifying the class name and other options
Specifying the data fields
Specifying which interfaces to implement
Specifying which classes and packages to import
Specifying the project, directory, and package
Tag Handler Wizard
About the Tag Handler Wizard
Starting the Tag Handler Wizard
Specifying the class name and other options
Specifying the project, directory, and package
Specifying the tag library descriptor file
Specifying the body type
Specifying tag handler attributes
Specifying tag handler scripting variables
Specifying TagExtraInfo class
What happens

Chapter 5    Web Service Wizard

About the wizard
Using the wizard
Panel sequence
Panel details
Project location
WAR project selection
Class selection
WSDL file selection
Multiple namespace mapping
EJB home interface selection
EJB lookup information
Method selection
Class-generation and SOAP options

Chapter 6    Source Editors

Common features
Standard editing features
Editor preferences
Searching across multiple files
Using text abbreviations
Changing case
Changing spaces, tabs, and indentation
The NetBeans-based editors
Color coding
Code completion
Adding files types edited by NetBeans-based editors
Other editing support
The native editors
Changing line ending characters
Multiple clipboard support
Viewing and changing read-only and read-write attributes
Using the native Java, JSP, or HTML editor
Inserting custom tags in a JSP page

Chapter 7    XML Editors

About XML
XML support in Workbench
Using the XML Editor
Using the Source View
Using the Tree View
Creating and opening XML documents
Associating Schemas and DTDs with XML documents
Attaching a Schema or DTD to a document
Specifying a Schema or DTD in the XML document
Detaching a Schema or DTD
Converting a DTD to a Schema
Editing an XML document
About context support
Adding elements
Adding attributes
Adding namespace declarations
Editing objects
Using the Schema Guide
The Schema Guide window
Adding elements and attributes
Looking at different elements
Validating an XML document
Searching an XML document
Maintaining the XML catalog
Adding to the catalog
Using the XML Catalog Editor
Using the XSL Editor
Keyboard shortcuts
In Tree View
In Source View
In Catalog View, XML Catalog Editor

Chapter 8    WSDL Editor

About WSDL
About the WSDL Editor
Creating a new WSDL document
Adding elements to a WSDL document
Adding a message element
Adding a port type element
Adding a binding element
Adding a service element
Validating a WSDL document
Displaying a stylized view
Publishing to a registry
Generating Web Service files from WSDL

Chapter 9    Registry Manager

About UDDI
About the Registry Manager
Defining registry profiles
Browsing registries
Information displayed
Popup menus
Action buttons
Searching by business
Searching by service
Retrieving WSDL from the registry
Publishing to a registry

Chapter 10    Deployment Descriptor Editor

About deployment descriptors
About the Deployment Descriptor Editor
Using the Deployment Descriptor Editor

Chapter 11    Deployment Plan Editor

About Deployment Plans
Using the Deployment Plan Editor

Chapter 12    Debugger

Concepts you need to know
About the Debugger
Debugging server applications
Starting the server
Launching the Debugger
A sample debugging session
Debugging J2EE applications
Debugging client applications
Invoking the Debugger to start the application
Attaching to a running application
Managing program execution
Using breakpoints
Continuing execution
Stepping through the code
When the Debugger cannot locate source code
Analyzing the behavior of the application
Viewing the call stack
Viewing threads
Viewing variables
Debugger keyboard shortcuts
   

Tools Guide  

Copyright © 2002, SilverStream Software, Inc. All rights reserved.