Table of Contents
Foreword.
Preface.
1.
Download, Installation, and First Project.
Downloading the IDE
Installing the IDE
Setting a Proxy
First NetBeans IDE
Project
2.
NetBeans IDE Fundamentals.
Creating
a Project
Configuring
the Classpath
Creating
a Sub-project
Creating
and Editing Files
Setting
Up and Modifying Java Packages
Compiling
and Building
Viewing
Project Metadata and Build Results
Navigating
to the Source of Compilation Errors
Running
Creating
and Running Tests
Debugging
the Application
Integrating
Version Control Commands
Managing
IDE Windows
3.
IDE Project Fundamentals.
Introduction
to IDE Projects
Choosing
the Right Project Template
Creating
a Project From Scratch
Importing
a Project Developed in a Different Environment
Navigating
Your Projects
Working
With Files Not In the Project
Creating
Packages and Files in the Project
Configuring
the Project's Classpath
Changing
the Version of the JDK That Your Project Is Based On
Changing
the Target JDK for a Standard Project
Referencing
JDK Documentation (Javadoc) From the Project
Adding Folders and JAR
Files to the Classpath
Making External Sources
and Javadoc Available in the IDE
Structuring Your Projects
DIsplaying and Hiding
Projects
Setting Up a Project to
Work with Version Control
Compiling a Project
Running a Project
Writing Your Own Manifest
for Your JAR File
Filtering Contents
Packaged into Outputs
Running a Project From
Outside of the IDE
Customizing the
IDE-Generated Build Script
Running a Specific Ant
Target from the IDE
Completing Ant
Expressions
Making a Menu Item or
Shortcut for a Specific Ant Target
4.
Editing and Refactoring Code.
Opening the Source Editor
Managing Automatic
Insertion of Closing Characters
DIsplaying Line Numbers
Generating Code Snippets
Handling Imports
DIsplaying Javadoc
Documentation While Editing
Formatting Code
Navigating Within the
Current Java File
Navigating From the
Source Editor
Searching and Replacing
Moving a Class to a
Different Package
Changing a Method's
Signature
Tracking Notes to
Yourself in Your Code
Comparing Differences
Between Two Files
Splitting the Source
Editor
Maximizing Space For the
Source Editor
Changing Source Editor
Keyboard Shortcuts
Building Rich Clients
with NetBeans
5.
Debugging Java Applications.
Starting a Debugging
Session
Attaching the Debugger to
a Running Application
Starting the Debugger
Outside of the Project's Main Class
Stepping Through Code
Setting Breakpoints
Managing Breakpoints
Customizing Breakpoint
Behavior
Monitoring Variables and
Expressions
Backing up From a Method
to its Call
Monitoring and
Controlling Execution of Threads
Fixing Code During a
Debugging Session
Viewing Multiple Debugger
Windows Simultaneously
6.
Developing Web Applications.
Representation of Web
Applications in the IDE
Adding Files and
Libraries to Your Web Application
Editing and Refactoring
Web Application Files
Deploying a Web
Application
Testing and Debugging
Your Web Application
Creating and Deploying
Applets
Changing the IDE's
Default Web Browser
Monitoring HTTP
Transactions
7.
Introduction to J2EE Development in NetBeans IDE.
Configuring the IDE for
J2EE Development
Getting the Most from the
Java BluePrints Solutions Catalog
8.
Extending Web Applications with Business Logic--Introducing
EnterprIse Beans.
EJB Project type Wizards
Adding EJB Components,
Files and Libraries to Your EJB Module
Adding Business Logic to
an EnterprIse JavaBeans Component
Adding a Simple Business
Method
EJB Bean Deployment
Descriptors
9.
Extending J2EE Applications with Web Services.
Consuming ExIsting Web
Services
Implementing a Web
Service in a Web Application
Implementing Web Services
within an EJB Module
Testing Web Services
Adding Message Handlers
to a Web Service
10.
Developing Full Scale J2EE Applications.
Creating Entity Beans
With Top Down Approach
Creating Entity Beans
With the Bottom Up Approach
Assembling J2EE
Applications
Importing exIsting J2EE
Applications
Consuming J2EE Resources
J2EE and Security
Management
Understanding the J2EE
Application Server Runtime Environment
Ensuring J2EE Compliance
Refactoring EnterprIse
JavaBeans Components
11.
Developing J2ME Mobility Applications.
Downloading and
Installing the Mobility Pack
Introduction To Mobility
Projects
Creating A Project From
Scratch
Importing a Project
Physical Structure of
Mobile Projects
Using Mobility File
Templates
Configuring the Project's
Classpath
Debugging Your Project
Configure your Project
for Different Devices
Setting the Active
Configuration for Your Project
Physical Structure of
Mobile Projects with Configurations
Reusing Project Settings
and Configurations
Structuring Projects
Dependencies
Manage the DIstribution
JAR File Content
Handle Project Resources
for Different Configurations
Writing Code Specific to
a LIst of Configurations
Using Configuration
Abilities
Localizing Applications
Using the Mobility VIsual
Designer
Automatically
Deploying your Application
Automatically Increment
the Application's MIDlet-Version
Installing Non Standard
Emulator Platforms
Ant and Mobility
Using Headless Builds
Finding More Information
12.
Integrating ExIsting Ant Scripts with the IDE.
Creating a Free-Form
Project
Mapping a Target to an
IDE Command
Setting Up the Debug
Project Command For a General Java Application
Setting Up the Debug
Project Command For A Web Application
Setting Up Commands for
Selected Files
Setting Up the Compile
File Command
Setting Up the Run File
Command
Setting Up the Debug File
Command
Setting Up the Debugger's
Fix Command
Changing the Target JDK
for a Free-form Project
Making a Custom Menu Item
for a Target
Debugging Ant Scripts
Appendix:
Importing an Eclipse Project into NetBeans IDE.
Getting the Eclipse
Project Importer
Choosing between
Importing with or without Project Dependencies
Importing an Eclipse
Project and Preserving Project Dependencies
Importing an Eclipse
Project Ignoring Project Dependencies
Handling Eclipse Project
DIscrepancies
Handling Eclipse Project
Reference Problems
Index.