Skip Headers
NetBeans Developing Applications with NetBeans IDE
Release 8.0
E50452-06
Home
Book List
Contact Us
Next
PDF
·
Mobi
·
ePub
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
What's New in This Guide
New and Changed Features for Release 8.0
1
Introduction to NetBeans IDE
1.1
About NetBeans IDE
1.2
NetBeans IDE Developer Resources
2
Working with NetBeans IDE
2.1
About Working with NetBeans IDE
2.2
Working with the Options Window
2.2.1
How to Edit IDE Settings
2.2.2
How to Export IDE Settings as Zip Archive
2.2.3
How to Import IDE Settings
2.3
Managing IDE Windows
2.3.1
How to Move a Window
2.3.2
How to Configure Window Behavior and Appearance
2.3.3
How to Simultaneously Display Multiple Files in the Editor
2.3.4
How to Clone the View of a Single File
2.3.5
How to Manage Open Files
2.4
Customizing Toolbars in the IDE
2.4.1
How to Show or Hide a Toolbar
2.4.2
How to Move a Toolbar
2.4.3
How to Add a Toolbar Button to a Toolbar
2.4.4
How to Remove a Button from a Toolbar
2.4.5
How to Reorder a Button in a Toolbar
2.4.6
How to Change the Size of Toolbar Buttons
2.4.7
How to Add a New Toolbar to the Main Window
2.5
Working with Keyboard Shortcuts
2.5.1
How to Add or Remove a Keyboard Shortcut for a Menu Command
2.5.2
How to Customize Keyboard Shortcuts
2.5.3
How to Switch Between Keyboard Shortcut Sets
2.5.4
How to Create a New Keyboard Shortcut Set
2.5.5
How to Use the Default Menu Shortcuts
2.5.6
How to Customize Keyboard Shortcuts
2.6
Understanding the Source Editor Features
2.6.1
How to Use the Toolbar
2.6.2
How to Use the Left Margin
2.6.3
How to Use the Error Stripe
2.6.4
How to Use the Status Line
2.6.5
How to Use Syntax Coloring and Highlighting
2.6.6
How to Use Insert Mode and Overwrite Mode
2.6.7
How to Set Editor Options
2.6.8
How to Insert and Highlight Occurrences in the Editor
2.6.9
How to Record Macros
2.6.9.1
Macro Keywords for NetBeans Java Editor
2.6.10
How to Modify Source Editor Code Templates
2.6.11
How to Use Code Completion
2.6.12
How to Use Hints
2.6.13
How to Navigate Through Code
2.6.14
How to Work with Import Statements
2.6.15
How to Generate Code
2.6.16
Using General Editor Shortcuts
2.7
Setting Startup Parameters
2.8
Setting Fonts and Colors for IDE Windows
2.8.1
How to Set Fonts and Colors for the Help Viewer
2.8.2
How to Set Fonts and Colors for the Output Window
2.8.3
How to Set Fonts and Colors for the Terminal Window
2.9
Managing Plugins in the IDE
2.9.1
How to Update the IDE from the Update Center
2.9.2
How to Install Downloaded Plugins
2.9.3
How to Activate and Deactivate Plugins
2.9.4
How to Globally Install Plugins
2.9.5
How to Add an Update Center
2.9.6
How to Schedule Update Checks
2.10
Displaying IDE Help in a Web Browser
2.10.1
How to Extract IDE Help from a JAR File
2.10.2
How to View IDE Help in a Web Browser
2.11
Internationalizing Source Code
2.11.1
How to Enable Automatic Internationalization
2.11.2
How to Internationalize a Single File
2.11.3
How to Use the Internationalization Wizard
2.11.4
How to Insert an Internationalized String Into Source Code
2.11.5
How to Internationalize a String With the GUI Builder
2.11.6
How to Test a Bundle for Internationalized Strings
2.11.7
How to Add Arguments for Message Formats
2.12
Managing and Creating Projects
2.12.1
How to Create a Project
2.12.2
How to Work with Character Encodings for a Project
2.12.2.1
Changing the Character Encoding of a Project
2.12.3
How to Organize Projects into Groups
2.13
Working with Source Files in the IDE
2.13.1
How to Find Files in Projects
2.13.2
How to Specify Editor Formatting Options
2.13.3
How to Compare Two Files
2.13.4
How to Apply a Diff Patch to a File
2.13.5
How to Access Files Outside of a Project
2.13.6
How to Create a File Template
2.13.7
How to Work with Unknown File Extensions
2.13.8
How to Specify Files to Ignore
2.13.9
How to Work with Character Encodings for Files
2.13.10
How to Specify Action Items
2.13.11
How to Use Bookmarks in Files
2.14
Working with Resource Bundles
2.14.1
How to Create and Delete Resource Bundles
2.14.2
How to Edit a Resource Bundle
2.14.3
How to Add and Remove a Property
2.14.4
How to Add and Remove a Locale
2.14.5
How to Edit a Locale
2.15
Working with Javadoc Documentation
2.15.1
How to Add Javadoc to a Project
2.15.2
How to Add the JDK Javadoc to the IDE
2.15.3
How to View Javadoc Documentation
2.15.4
How to Generate Javadoc Documentation
2.15.5
How to Enter Javadoc Comments in Source Code
2.15.6
How To Analyze and Fix Javadoc Comments
2.16
Viewing IDE Notifications
3
Versioning Applications with Version Control
3.1
About Versioning Applications with Version Control
3.2
Versioning Applications with Git
3.2.1
Git Visualization Features
3.2.2
How to Initialize a Git Repository
3.2.3
How to Clone a Git Repository
3.2.3.1
Cloning a Repository from GitHub using SSH protocol
3.2.4
How to Add Files to a Repository
3.2.5
How to Commit Sources to a Git Repository
3.2.6
How to Revert Modifications
3.2.7
How to Reset
3.2.8
How to Create a Tag
3.2.9
How to Compare File Revisions
3.2.10
How to Work with Branches
3.2.10.1
Creating a Branch
3.2.10.2
Checking Out
3.2.10.3
Merging
3.2.10.4
Deleting
3.2.11
How to Work with Remote Repositories
3.2.11.1
Fetching
3.2.11.2
Pulling
3.2.11.3
Pushing
3.2.12
How to Set Git Global Options
3.2.13
How to Shelve Changes (Git)
3.2.14
How to Rebase (Git)
3.3
Versioning Applications with Subversion
3.3.1
Subversion Visualization Features
3.3.2
Working with Subversion
3.3.3
How to View File Status Information
3.3.4
How to Work with Version Histories
3.3.4.1
Searching for Specific Revisions
3.3.4.2
Comparing Revisions in the Search History Window
3.3.5
How to Set Up Subversion
3.3.6
How to Check Out Files From a Remote Repository (Subversion)
3.3.7
How to Place Projects Under Version Control (Subversion)
3.3.8
How To Update Files in a Local Working Directory (Subversion)
3.3.8.1
Updating Projects with Dependencies
3.3.9
How to Compare File Revisions in Subversion
3.3.9.1
Comparing File Revisions Graphically
3.3.10
How to Commit Local Changes to a Remote Repository (Subversion)
3.3.10.1
Ignoring Files
3.3.11
How to Work with Branches in Subversion
3.3.11.1
Checking Out Branches
3.3.11.2
Creating Branches
3.3.11.3
Switching to a Branch
3.3.12
How to Revert Modifications (Subversion)
3.3.13
How to Recover Deleted Files (Subversion)
3.3.14
How to Merge File Revisions in Subversion
3.3.15
Resolving Merge Conflicts in Subversion
3.3.16
How to Create and Apply a Patch (Subversion)
3.3.17
How to Shelve Changes (Subversion)
3.4
Versioning Applications with Mercurial
3.4.1
About Mercurial Visualization Features
3.4.2
How to View File Status Information in Mercurial
3.4.2.1
Viewing Revision Information
3.4.3
How to Set Up Mercurial
3.4.4
How to Clone an External Mercurial Repository
3.4.5
How to Place Projects Under Version Control
3.4.6
How to Use the Mercurial Diff Viewer
3.4.7
How to Use the Mercurial Status Window
3.4.8
How to Merge File Revisions
3.4.9
How to Switch Branches in the Repository
3.4.10
How to Commit Changes to the Repository
3.4.10.1
Updating Tasks
3.4.10.2
Ignoring Files
3.4.10.3
Pushing Local Changes to the Shared Repository
3.4.11
How to Set Mercurial Project Properties
3.4.12
How to Set Mercurial Global Options
3.4.13
How to Enable Support for Mercurial Queues
3.4.14
How to Create a Patch
3.4.15
How to Refresh a Patch With Local Modifications
3.4.16
How to Compare Patch Revisions
3.4.17
How to Switch Between Patches
3.4.18
How to Finish Applied Patches
3.4.19
How to Shelve Changes (Mercurial)
3.4.20
How to Rebase (Mercurial)
3.5
Versioning Applications with CVS
3.5.1
How to Work with CVS
3.5.2
How to Use CVS with the IDE
3.5.3
How to View File Status Information (CVS)
3.5.3.1
Viewing Revision Information
3.5.4
How to Work with Version Histories
3.5.4.1
Comparing Revisions in the Search History Window
3.5.5
How to Set Up CVS
3.5.6
How to Adjust CVS Settings in the IDE
3.5.7
How to Check Out Files from a Remote Repository (CVS)
3.5.8
How to Update Files in a Local Working Directory (CVS)
3.5.8.1
Updating Projects with Dependencies
3.5.9
How to Compare File Revisions in CVS
3.5.10
How to Commit Local Changes to a Remote Repository (CVS)
3.5.10.1
Excluding Files from a Commit
3.5.10.2
Ignoring Files
3.5.11
How to Revert Modifications (CVS)
3.5.12
How to Recover Deleted Files (CVS)
3.5.13
How to Work with Tags
3.5.14
How to Work with Branches in CVS
3.5.14.1
Checking out Branches
3.5.14.2
Switching to a Branch
3.5.14.3
Creating a Branch
3.5.15
How to Merge File Revisions from a Branch (CVS)
3.5.16
How to Resolve Merge Conflicts
3.5.17
How to Create and Apply a Patch
3.6
About Local History
3.6.1
About the IDE's Local History Tools
3.6.2
How to Browse Local File History
3.6.3
How to Recover Deleted Files
3.6.4
How to Revert a File to a Previous Version
3.6.5
How to Adjust Local History Settings
4
Working in a Collaborative Environment
4.1
About Working in a Collaborative Environment
4.2
Working with Tasks
4.2.1
About Task Repositories
4.2.2
How to Work with Tasks
4.2.2.1
Finding and Opening Tasks
4.2.2.2
Creating and Saving Task Queries
4.2.2.3
Reporting New Tasks
4.2.2.4
Updating and Resolving Tasks
4.2.3
How to Add a Task Repository
4.2.4
How to Add Support for JIRA
4.3
Working with the Tasks Window
4.3.1
How to View Tasks
4.3.2
How to Organize Tasks
4.3.3
How to Configure Tasks Window Settings
5
Creating Java Projects
5.1
About Creating Java Projects
5.2
Using Java Project Templates
5.2.1
Standard Project Templates
5.2.1.1
Source Folders
5.2.1.2
Project Settings
5.2.1.3
Switching a Java SE Project to a JavaFX Deployment Model
5.2.1.4
Adding a JavaFX Class to a Java SE Project
5.2.1.5
Project Folders
5.2.2
Free-Form Templates
5.2.2.1
Source Folders
5.2.2.2
Project Settings
5.2.2.3
IDE Commands and Ant Targets
5.2.3
Creating Standard Projects
5.2.3.1
Managing the Classpath
5.2.3.2
Creating Dependencies Between Projects
5.2.3.3
Editing IDE-Generated Ant Scripts
5.2.3.4
Customizing the IDE-Generated Ant Script
5.2.3.5
Working with a JavaFX Project
5.2.4
Creating Free-Form Projects
5.2.4.1
Source Folders
5.2.4.2
Project Settings
5.2.4.3
IDE Commands and Ant Targets
5.2.4.4
Adding a Source Directory to a Free-Form Project
5.2.4.5
Declaring the Classpath in a Free-Form Project
5.2.4.6
Mapping an Ant Target to an IDE Command
5.2.4.7
Debugging Free-Form Projects
5.2.4.8
Storing IDE Targets in a Separate Ant Script
5.2.4.9
Editing the project.xml File
5.2.5
Setting Up a Java Project Based on Existing Sources
5.3
Importing an Eclipse or JBuilder Project
5.4
Setting the Main Project
5.5
Adding Multiple Sources Roots to a Project
5.6
Sharing a Library with Other Users
5.6.1
How to Share a Library
5.7
Adding a Javadoc to a Project
5.7.1
How to Add a Javadoc to a Project
5.8
Setting the Target JDK
5.8.1
How to Register a New Java Platform
5.8.2
How to Set the Target JDK
5.8.3
How to Upload Java SE Embedded JRE to a Remote Device
5.9
Moving, Copying, and Renaming a Project
5.9.1
How to Move, Copy, or Rename a Project
5.10
Deleting a Project
6
Working with Java Code
6.1
About Working with Java Code
6.2
Editing Java Code
6.2.1
How to Identify Java Source Files
6.3
Navigating in Java Code
6.3.1
Browsing Java Files
6.3.2
Browsing XML Files
6.3.3
Browsing Ant Scripts
6.3.4
Browsing an XML File
6.3.5
How to Navigate Within Your Code
6.4
Finding and Replacing Text
6.4.1
How to Find and Replace Text
6.5
Using Regular Expressions
6.5.1
Regular Expression Constructs
6.5.1.1
Sample Regular Expressions
6.6
Using Special Code Templates
6.7
Using Java Editor Shortcuts
7
Building Java Projects
7.1
About Building Java Projects
7.2
Working with Ant
7.2.1
Using Ant with the IDE
7.2.2
How to Edit an Ant Script
7.2.2.1
Writing Custom Ant Tasks
7.2.3
How to Run an Ant Script
7.2.4
How to Debug an Ant Script
7.2.5
How to Create a Shortcut to a Target
7.2.6
How to Configure Ant Settings
7.2.7
How to Switch Versions of Ant
7.2.8
Ant Classpaths and Custom Tasks
7.2.8.1
Adding Binaries to Ant's Classpath in the IDE
7.2.8.2
Build Scripts With an Explicit Classpath
7.2.9
How to Install Ant Documentation in the IDE
7.3
Working with Builds
7.4
Building a Java Project
7.4.1
How to Build a Java Project
7.5
Using a Build Server
7.5.1
Creating a Build
7.6
Compiling a Single Java File
7.7
Building a JAR File
7.8
Packaging an Application as a Native Installer
7.9
Preparing a JAR File for Deployment Outside the IDE
7.9.1
Running an Application JAR Outside of the IDE
7.10
Using the Output Window
7.11
Refactoring Java Projects
7.11.1
How to Undo Refactoring Changes
7.11.2
How to Find Class, Methods, and Field Usages
7.11.2.1
Classes and Interfaces
7.11.2.2
Methods
7.11.2.3
Fields
7.11.2.4
Additional Find Mechanisms
7.11.3
How to Rename a Class or Interface
7.11.4
How to Rename a Field or Method
7.11.5
How to Move a Class to Another Java Package
7.11.6
How to Move an Inner Class One Level Up
7.11.7
How to Move a Class Member to a Superclass
7.11.8
How to Move a Class Member to a Subclass
7.11.9
How to Copy a Class
7.11.10
How to Encapsulate a Field
7.11.11
How to Change a Method's Signature
7.11.12
How to Invert a Boolean Method or Variable
7.11.13
Replacing a Constructor
7.11.14
How to Introduce a Variable, Constant, Field, or Method
7.11.15
How to Inline a Variable, Method, or Constant
7.11.16
How to Extract a Superclass
7.11.17
How to Extract an Interface
7.11.18
How to Use a Supertype Where Possible
7.11.19
How to Convert an Anonymous Inner Class to a Regular Inner Class
7.11.20
How to Safely Delete Java Code
7.11.20.1
Handling Deletions When The Code Element is Referenced
7.11.21
Using Hints in Source Code Analysis and Refactoring
7.11.22
How to Refactor an Enterprise Bean
7.12
Working with Maven in the IDE
7.12.1
How to Create a New Maven Project
7.12.2
How to Configure Maven Settings
7.12.2.1
Configuring Maven Settings for the IDE
7.12.2.2
Configuring Maven Settings for Projects
7.12.2.3
Using Project Configurations
7.12.2.4
Binding IDE Actions to Maven Goals
7.12.2.5
Creating Custom Actions
7.12.3
How to Work with the Maven POM
7.12.4
How to Manage Maven Project Dependencies
7.12.5
How to Work with Maven Artifacts
7.12.5.1
Visualizing Dependencies
7.12.6
How to Build a Maven Project
7.12.6.1
Executing Maven Goals in the IDE
7.12.6.2
Customizing the Build Process
7.12.6.3
Executing Individual Goals
7.13
Working with Maven Repositories
7.13.1
How to Work with Maven Repositories
8
Testing and Profiling Java Application Projects
8.1
About Testing and Profiling Java Application Projects
8.2
Testing Java Application Projects with Unit Tests
8.2.1
Test Types in the IDE
8.2.2
Unit Test Structure
8.3
Creating a Unit Test
8.3.1
Changing the JUnit Version
8.3.2
How to Create a Unit Test
8.4
Running a Unit Test
8.4.1
How to Run a Unit Test
8.4.2
Working with Unit Test Output
8.5
Debugging a Unit Test
8.6
Configuring Unit Test Settings
8.6.1
How to Edit Unit Test Settings
8.6.2
How to Edit the Classpath for Compiling or Running Tests
8.7
Starting a Profiling Session
8.7.1
How to Profile a Project
8.7.2
How to Calibrate the Profiler
8.8
Selecting a Profiling Task
8.8.1
How to Select a Profiling Task
8.8.2
Using a Load Generator Script
8.9
Attaching the Profiler
8.9.1
How to Configure the Attach Settings
8.9.2
How to Attach the Profiler to a Local Application
8.10
Attaching the Profiler to a Remote Application
8.10.1
How to Attach to a Remote Application
8.10.2
Attaching to a Remote Server
8.11
Profiling a Free-form Project
8.11.1
Profiling Free-form Web Projects
8.11.1.1
A Typical Free-Form Project Profile Target
8.11.1.2
Writing a Target to Profile a Selected File
8.12
Taking a Snapshot
8.12.1
How to Take a Snapshot
8.13
Taking a Heap Dump
8.13.1
How to Take a Heap Dump
8.14
Setting Profiling Filters
8.14.1
How to Set a Profiling Filter
8.15
Setting a Profiling Point
8.15.1
How to Set Profiling Points
8.15.2
How to Reset Profiling Results
8.15.3
How to Set a Stopwatch Profiling Point
8.16
Monitoring an Application
8.17
Analyzing CPU Performance
8.17.1
How to Create a Custom Configuration
8.17.2
How to Specify a Root Method
8.18
Analyzing Memory Usage
8.19
Working with Live Profiling Results
8.19.1
How to View VM Telemetry Results
8.19.2
How to View Thread Activity
8.19.3
How to View Live Results
8.19.4
How to Filter Live Results
8.19.5
How to Detect Lock Contention
8.20
Working with Captured Profiling Results
8.20.1
How to Work with Snapshots
8.20.1.1
Comparing Snapshots
8.20.2
How to Browse a Heap Dump
8.20.3
How to Compare Heap Dumps
8.20.4
How to Analyze a Heap Dump Using OQL
9
Running and Debugging Java Application Projects
9.1
About Running Java Application Projects
9.1.1
Running Standard Projects
9.1.2
Running Free-form Projects
9.2
Working with Project Execution
9.3
Running an Application
9.4
Running a Single File
9.4.1
Writing a Target to Run/Debug/Test a Single File
9.4.1.1
Running the Selected File
9.4.1.2
Getting a Reference to the Currently Selected File in the IDE
9.4.1.3
Debugging the Selected File
9.5
Setting the Runtime Classpath
9.6
Setting the Main Class and Runtime Arguments
9.7
Setting JVM Arguments
9.8
Debugging Applications
9.8.1
Debugging Free-form Projects
9.8.1.1
How to Create a Debug Target for a Free-form Java Project
9.8.1.2
How to Create a Debug Target for a Free-form Web Project
9.8.2
Debugging GUI Projects
9.8.2.1
GUI Snapshots
9.8.2.2
Working with the Visual Debugger
9.8.2.3
How to Configure Java Debugger Options
9.9
Using the Debugger Windows
9.9.1
Customizing a Debugger Window
9.9.2
Choosing Current Context in the Debugger
9.9.2.1
Debugger Windows and Context
9.9.2.2
The Source Editor and Context
9.9.3
Attaching Source Code to a JAR File
9.9.4
Managing Breakpoints
9.9.4.1
How to Set a Java Breakpoint
9.9.4.2
How to Set a Conditional Breakpoint
9.9.4.3
How to Organize Breakpoints Into a Group
9.9.5
Managing Debugging Sessions
9.9.5.1
How to Manage a Local Debugging Session
9.9.5.2
How to Manage a Remote Debugging Session
9.9.5.3
How to Step Through Your Program
9.9.5.4
How to Fix and Continue in a Debugging Session
9.9.5.5
How to Finish a Debugging Session
9.9.6
Viewing Program Information When Debugging
9.9.6.1
Using the Variables Window
9.9.6.2
Using the Loaded Classes Window
9.9.6.3
Using the Events Window
9.9.6.4
Evaluating Variables in the Source Editor
9.9.6.5
How to Create a Watch
9.9.6.6
How to Create a Fixed Watch
9.9.6.7
Debugging Threads in the IDE
9.9.6.8
Using the Call Stack
9.9.6.9
How to Evaluate Code
9.9.6.10
How to Step Through an Expression
10
Implementing Java GUIs
10.1
About Implementing Java GUIs
10.1.1
The IDE's Java GUI Tools
10.2
Working with the GUI Builder
10.2.1
How to Create a New Form
10.2.2
How to Work with Containers
10.2.2.1
Controlling View Focus
10.2.2.2
Reordering Components Within a Container
10.2.3
How to Add a Component to a Form
10.2.4
How to Select Components in a Form
10.2.5
Controlling Selection Depth
10.2.6
How to Align Components
10.2.7
How to Size Components
10.2.8
How to Edit Component Properties
10.2.9
How to Set Events with the Connection Wizard
10.2.10
How to Manage Component Events
10.2.10.1
Defining Event Handlers
10.2.11
How to Modify GUI Source Code
10.2.11.1
Modifying Code Generation for Form Components
10.2.11.2
Setting Variable Modifiers for a Java Component
10.2.11.3
Modifying Code Generation for a Property
10.2.11.4
Modifying GUI Form Code Outside of the IDE
10.2.12
How to Create a Multiple Document Interface (MDI) Application
10.2.13
How to Create Accessible Forms
10.2.14
How to Preview a Form
10.3
Working with Layout Managers
10.3.1
How to Set the Layout Manager
10.3.2
How to Use the GridBag Customizer
10.3.3
How to Use a Custom Layout Manager
10.3.4
How to Set Layout Properties
10.4
Adding a Bean to the Window
10.5
Working with Database Applications and Beans Binding
10.5.1
How to Bind Two Bean Properties
10.5.2
How to Bind Data to a Swing Components
10.5.3
How to Use Special Binding Properties (Java Desktop Applications)
10.5.4
How to Convert Values Between Source and Target Properties (Java Desktop Applications)
10.5.5
How to Validate Target Value Changes in Bindings (Java Desktop Applications)
10.6
Deploying GUI Applications
10.6.1
Preparing a GUI Application for Distribution
10.6.2
Running a Standalone GUI Application
10.7
Configuring the GUI Builder
11
Developing Web Applications
11.1
About Developing Web Applications
11.2
Creating Web Application Projects
11.2.1
How to Create a Web Application Project
11.2.2
Setting Up a Web Project Based on Existing Sources
11.3
Working with JSP Files
11.3.1
How to Create a JSP File
11.3.2
How to Set Character Encoding
11.3.3
How to Edit a JSP File
11.3.4
How to Access a Custom Tag from a JSP Page
11.3.5
How to Access an Applet from a JSP Page
11.3.6
How to Compile a JSP File
11.3.7
How to View a JSP File's Servlet
11.3.8
How to Pass Request Parameters
11.3.9
How to Run a JSP File
11.4
Working with Tag Libraries
11.4.1
How to use Tag Libraries
11.4.2
How to Create a Tag Library Descriptor
11.4.3
How to Edit a Tag Library Descriptor
11.4.4
How to Create a Tag File
11.4.5
How to Edit a Tag File
11.4.6
How to Create a Tag Handler
11.4.7
How to Define TLD Information for a Tag Handler
11.5
Working with Applets
11.5.1
How to Create an Applet
11.5.2
How to Create an Applet that is Called from a JNLP File
11.5.3
How to Run an Applet
11.5.4
How to Generate an Applet Policy File
11.6
Working with Servlets
11.6.1
How to Create a Servlet Source File
11.6.2
How to Edit a Servlet Source File
11.6.3
How to View the Servlet Generated from a JSP File
11.6.4
How to Specify Parameters for a JSP Page
11.6.5
How to Run a Servlet
11.7
Using Filters
11.7.1
How to Create a Filter
11.7.2
How to Register a Filter
11.8
Using Web Application Listeners
11.8.1
How to Create a Web Application Listener
11.8.2
How to Register a Web Application Listener
11.9
Using WebSocket Endpoints
11.9.1
How to Create a WebSocket Endpoint
11.9.2
How to Create a WebSocket Encoder or Decoder
11.10
Configuring a Web Application
11.10.1
How to Set Build Properties
11.10.2
How to Edit Deployment Descriptors
11.11
Deploying a Web Application
11.11.1
How to Deploy a Web Application
11.11.2
How to Change the Target Server
11.12
Debugging a Web Application
11.12.1
How to Debug a Web Application
11.12.2
How to Debug a JSP File
11.12.3
How to Debug a Servlet
11.13
Profiling a Web Application
11.13.1
How to Profile a Standalone Web Application
11.13.2
How to Profile an Enterprise Application
12
Using Web Application Frameworks
12.1
About Using Web Application Frameworks
12.2
Working with the JavaServer Faces Framework
12.2.1
How to Create a New Project with JSF Support
12.2.2
How to Add Support for a JSF Component Suite
12.2.3
How to Add JSF Support to an Existing Web Application
12.2.4
How to Create a JSF Page
12.2.5
How to Edit a JSF page
12.2.6
How to Create a JSF Facelets Template
12.2.7
How to Create Composite Components
12.2.8
How to Create a JSF Managed Bean
12.2.9
How to Work with JSF Components in the Palette
12.2.10
How to Create a JSF Form for Entity Data
12.2.11
How to Generate a JSF Data Table from an Entity Class
12.2.12
How to Generate JSF Pages from Entity Classes
12.2.13
How to Generate a Validation Constraint
12.3
Working with the Spring Framework
12.3.1
How to Create a New Project with Spring MVC Framework Support
12.3.2
How to Add Spring MVC Framework Support to an Existing Application
12.3.3
How to Create a Spring Configuration File
12.3.4
How to Organize Spring Configuration Files
12.3.4.1
Accessing the Spring Configuration Group Panel
12.3.4.2
Specifying Spring Configuration Files
12.3.4.3
Organizing Spring Configuration Files into Groups
12.4
Working with the Struts Framework
12.4.1
How to Create a New Project with Struts Framework Support
12.4.2
How to Add Struts Framework Support to an Existing Application
12.5
Working with the Hibernate Framework
12.5.1
How to Create a New Project with Hibernate Support
12.5.2
How to Add Hibernate Support to an Existing Application
12.5.3
How to Create the Hibernate Configuration File
12.5.4
How to Edit the Hibernate Configuration File
12.5.5
How to Create Hibernate Mapping Files
12.5.6
How to Generate Hibernate Mapping Files and POJOs from a Database
12.5.7
How to Create a Hibernate Reverse Engineering File
12.5.8
How to Create a Hibernate Utility Helper File
12.5.9
How to Create and Execute a HQL Statement or Script
12.6
Working with the Grails Framework
12.6.1
How to Create a New Project with Grails Framework Support
12.6.2
How to Install a Grails Plugin into a Grails Application
13
Developing Enterprise Applications
13.1
About Developing Enterprise Applications
13.2
Adding Modules to the Project
13.2.1
How to Add a Module to an Existing Project
13.3
Adding Resources to the Project
13.3.1
How to Add an External Resource to an EAR File
13.4
Editing Deployment Descriptors
13.4.1
How to Edit an Enterprise Application's Deployment Descriptors
13.5
Building Enterprise Applications
13.5.1
How to Build an Enterprise Application Project and Sub-Projects
13.6
Verifying Enterprise Applications
13.6.1
How to Verify a Project's Deployment Descriptors
13.7
Deploying Enterprise Applications
13.7.1
How to Run an Enterprise Application
13.7.2
How to Deploy an Enterprise Application
13.7.3
How to Undeploy an Enterprise Application
13.8
Packaging Enterprise Applications
13.8.1
How to Redeploy a Project to a Different Server
14
Developing Application Clients
14.1
About Developing Application Clients
14.2
Creating Application Clients
14.2.1
How to create an enterprise application client
14.2.2
How to edit the deployment descriptors of an enterprise application client
14.2.3
How to add a module to an enterprise application
15
Developing with Enterprise Beans
15.1
About Developing with Enterprise Beans
15.2
Creating an EJB Module Project
15.2.1
How to Create an EJB Module Project
15.3
Creating an Enterprise Bean
15.3.1
How to Create Enterprise Beans
15.3.2
How to Generate Session Beans for Entity Classes
15.3.3
How to Define a Business Method for an Enterprise Bean
15.3.4
How to Send JMS Messages
15.3.5
How to Use a Service Locator
15.3.6
How to Access a Connection Pool from a Java Class
15.3.7
How to Send an Email from a Java File
15.4
Calling an Enterprise Bean
15.4.1
How to call an Enterprise Bean
15.5
Building and Deploying an EJB Module
15.5.1
How to Build an EJB Module as Part of an Enterprise Application
15.5.2
How to Build a Stand-alone EJB Module
15.5.3
How to Edit the Deployment Descriptors of an EJB Module
15.5.4
How to Verify the Deployment Descriptors of an EJB Module
15.5.5
How to Deploy a Stand-alone EJB Module
15.5.6
How to Debug an EJB Module
15.5.7
How to Profile an EJB Module
15.5.8
How to Test an EJB Module
15.6
Developing EJB 2.1 Entity Beans
16
Developing with Java Persistence
16.1
About Developing with Java Persistence
16.2
Creating a Persistence Unit
16.2.1
Scope of the Persistence Unit
16.2.2
Persistence Provider
16.2.3
Data Source
16.2.4
Transaction Types
16.2.5
How to Create a Persistence Unit
16.3
Creating an Entity Class
16.3.1
How to Create an Entity Class
16.3.2
How to Map Entity Classes
16.3.3
How to Generate Entity Classes from a Database
16.3.4
How to Obtain an Entity Manager
16.4
Generating JPA Controller Classes
16.4.1
How to Generate a JPA Controller Class from an Entity Class
16.5
Adding Support for Java Persistence
16.5.1
How to Add Support for Java Persistence to the Project
17
Developing Applications Using XML
17.1
About Developing Applications Using XML
17.2
Creating and Editing XML Documents
17.2.1
How to Create a Well-formed XML Document
17.2.2
How to Create a DTD-constrained XML Document
17.2.3
How to Create an XML Schema-constrained Document
17.2.4
How to Edit an XML Document
17.2.5
How to Validate an XML Document
17.2.6
How to Check that an XML Document is Well-formed
17.3
Generating a DTD from an Existing XML File
17.4
Creating an Empty DTD
17.5
Generating Documentation for a DTD
17.6
Registering a Local DTD or XML Schema
17.7
Removing a DTD or XML Schema Entry from the User Catalog
18
Developing and Securing Web Services
18.1
About Developing and Securing Web Services
18.2
Working with Web Services
18.3
Creating Web Services
18.3.1
How to Create SOAP (JAX-WS) Web Services
18.3.1.1
How to Add Operations to a JAX-WS Web Service
18.3.1.2
How to Use the JAX-WS Web Service Designer
18.3.2
How to Create RESTful Web Services
18.4
Configuring Web Services
18.4.1
Using Annotations and Deployment Descriptors
18.4.2
How to Configure a Web Service With Annotations
18.4.3
How to Configure a Web Service With Its Deployment Descriptor
18.5
Creating JAX-WS Web Service Clients
18.5.1
How to Work with JAX-WS Web Service Clients
18.5.2
How to Set a Proxy for Web Services and Clients
18.5.3
How to Generate a JAX-WS Web Service Client
18.5.4
How to Call a Web Service Operation
18.5.5
How to Asynchronously Call a Web Service Operation
18.5.6
How to Deploy a Web Service Client
18.6
Creating RESTful Web Service Clients
18.6.1
How to Work with RESTful Web Service Clients
18.6.2
How to Generate RESTful Web Service Java Clients
18.6.3
How to Generate RESTful Web Service JavaScript Clients
18.6.4
How to Use the Web Services Manager
18.7
Deploying and Testing Web Services and Clients
18.7.1
How to Test a JAX-WS Web Service
18.7.2
How to Test a RESTful Web Service
18.8
Creating Handlers
18.8.1
How to Create a Handler
18.8.2
How to Configure Handlers
18.8.3
Testing and Using Handlers
18.9
Using JAXB for Java-XML Binding
18.9.1
How to Generate Java Classes from XML Schema
18.9.2
How to Marshall XML Elements From Java Classes
18.9.3
How to Unmarshall XML Elements to Java Classes
18.10
Configuring Quality of Service
18.10.1
How to Configure Quality of Service
18.10.2
How to Set Port Binding
18.11
Securing an Operation
18.11.1
How to Secure an Operation's Input Messages
18.11.2
How to Secure a Message
18.11.3
How to Secure an Operation's Output Messages
18.11.4
How to Set Transport Options
18.11.5
How to Set Client Security
19
Developing HTML5 Applications
19.1
About Developing HTML5 Applications
19.2
Working with HTML5 Applications
19.3
Creating an HTML5 Application Project
19.3.1
How to Create HTML5 Applications for Mobile Platforms
19.3.2
How to Add Support for HTML5 Features to an Application
19.4
Running an HTML5 Application
19.4.1
How to Specify the Browser
19.4.2
How to Run an Application
19.4.3
How to Run a File
19.5
Integrating an HTML5 Project with a Browser
19.5.1
How to Install the Extension from the Chrome Web Store
19.5.2
How to Install the Extension Manually
19.6
Inspecting HTML5 Code with the Browser
19.7
Changing Browser Screen Sizes
19.7.1
How to Switch Between Screen Sizes
19.7.2
How to Create a Custom Screen Size
19.8
Creating HTML5 Templates
19.8.1
How to Create a Site Template
19.9
Creating Cascading Style Sheets
19.9.1
How to Create a Cascading Style Sheet
19.9.2
How to Add a CSS Rule to a Cascading Style Sheet
19.9.3
How to Add a Property to a CSS Rule
19.9.4
Creating a CSS Preprocessor File
19.9.5
How to Generate CSS Files Using a CSS Preprocessor
19.10
Creating JavaScript Files
19.10.1
How to Create a JavaScript File
19.10.2
How to Edit a JavaScript File
19.10.3
How to Debug a JavaScript File
19.10.4
How to Set JavaScript Breakpoints
19.10.5
How to Run Unit Tests on JavaScript Files
19.10.6
How to Add a JavaScript Library to a Project
20
Developing PHP Applications
20.1
About Developing PHP Applications
20.1.1
Databases
20.1.2
Remote Development
20.1.3
Frameworks
20.2
Working with PHP Applications
20.2.1
How to Create a PHP Project
20.2.2
How to Create a Run Configuration for the Project
20.2.3
How to Synchronize Local and Remote Sources
20.2.4
How to Run a Project
20.2.5
How to Test a PHP Project
20.3
Editing PHP Files
20.3.1
How to Use Syntax Highlighting
20.3.2
How to Use Code Completion
20.3.2.1
Snippets
20.3.2.2
Context-Sensitive Proposals
20.3.2.3
Code Templates and Abbreviations
20.3.2.4
Code Completion for Constructors
20.3.2.5
SQL Code Completion
20.3.2.6
PHP Namespaces
20.3.2.7
Overridden and Implemented Methods
20.3.2.8
Annotations
20.3.2.9
PHP Traits
20.3.3
How to Use Bracket Completion
20.3.4
How to Use Parameter Hints
20.3.5
How to Use the Go To Declaration Feature
20.3.6
How to Use Rename Refactoring and Instant Rename
20.3.7
How to Use Code Generators
20.3.7.1
Constructors
20.3.7.2
Getters and Setters
20.3.7.3
Overridden and Implemented Methods
20.3.8
How to Define Variable Type in Comments
20.3.9
About PHP 5.4 Support
20.4
Debugging PHP Applications
20.4.1
How to Debug a PHP Project
20.4.2
How to Set Up XDebug
20.4.2.1
Check If XDebug Is Installed
20.4.2.2
Install XDebug
20.4.2.3
Setting Up XDebug
20.4.2.4
Testing XDebug
20.4.2.5
Setting Up Debugging Options in NetBeans IDE
20.4.3
How to Set PHP Breakpoints in the IDE
20.4.3.1
Setting Breakpoints
20.4.4
How to Set the Current Context in the PHP Debugger
20.4.4.1
Debugger Windows and Context
20.4.4.2
The Source Editor and Context
20.4.5
How to Start a PHP Debugging Session
20.4.5.1
Starting a PHP Debugging Session
20.4.5.2
Remote PHP Debugging and Path Mapping
20.4.5.3
Stepping Through Your Program
20.4.5.4
Finishing a PHP Debugging Session
20.4.6
How to Use PHP Debugger Windows
20.4.6.1
Using the Breakpoints Window
20.4.6.2
Using the Call Stack Window
20.4.6.3
Using the Threads Window
20.4.6.4
Using the Variables Window
20.4.6.5
Using the Watches Window
20.4.7
How to View Program Information
20.4.7.1
Viewing Variables When Debugging PHP Applications
20.4.7.2
Enabling and Creating Watches in PHP Code
20.5
Testing PHP Applications
20.5.1
How to Configure PHP Unit Test Frameworks
20.5.2
How to Run PHP Tests
20.5.3
How to Analyze PHP Code
20.6
Using a Continuous Build Server With PHP
21
Developing Java ME Applications
21.1
About Developing Java ME Applications
21.1.1
About Java ME Embedded and CLDC Applications
21.2
Understanding Java Platform Manager
21.3
Creating Java ME Projects
21.3.1
How to Create a Java ME Embedded Application from a Template
21.3.1.1
Creating Embedded Application
21.3.2
How to Add a MIDlet to a Project Configuration
21.3.3
How to Add Push Registry Entries
21.3.4
Adding API Permissions
21.4
Customizing MIDlet Properties
21.4.1
How to Customize the Application Descriptor (JAD) Attributes
21.4.2
How to Customize MEEP Javadoc Settings
21.5
Building Java ME Embedded Applications
21.5.1
How to Customize Compilation Options
21.5.2
How to Add Libraries and Resources to a Java ME Embedded Project
21.5.3
How to Customize MEEP Build Filter Settings
21.5.4
How to Obfuscate a MIDlet Suite
21.5.5
How to Customize the JAR and JAD Files in a Build
21.6
Working with Security and MIDlet Signing
21.6.1
How to Set Security through MIDlet Signing
21.6.2
How to Add or Creating a Keystore
21.6.3
How to Create a New Key Pair
21.6.4
How to Export a Key to an Emulator Platform
21.7
Working with Java ME Embedded Project Configurations
21.7.1
How to Work with Java ME Embedded Project Configurations
21.7.2
How to Customize Java ME Embedded Project Configurations
21.7.2.1
Customizing Project Configurations
21.7.2.2
Customizing Platform Properties
21.7.2.3
Customizing the Application Descriptor (JAD) Attributes
21.7.2.4
Adding MIDlets to a Project Configuration
21.7.2.5
Customizing Compilation Options
21.7.2.6
Adding Libraries and Resources to a Java ME Embedded Project
21.8
Running Java ME Embedded Applications
21.8.1
How to Customize Java ME Embedded Project Run Options
21.8.2
How to Run a MIDlet Suite with OTA Provisioning
21.8.3
How to Run Headless Builds
21.9
Using Java ME Emulator Platforms
21.9.1
How to Add MEEP Emulator Platforms
21.9.2
How to Customize Java ME Platform Properties
21.9.3
How to Use the Java ME SDK
22
Working with Web and Application Servers
22.1
About Working with Web and Application Servers
22.1.1
Web Browsers
22.1.2
Application Servers
22.1.3
Understanding Connection Pools
22.1.4
Common Application Server Tasks
22.1.4.1
Setting Context Paths
22.1.4.2
Starting and Stopping Servers
22.1.4.3
Removing Applications from Servers
22.1.5
Developing on the Cloud
22.1.6
HTTP Server-Side Monitor
22.2
Working with Web Browsers
22.2.1
How to Configure a Web Browser
22.2.2
How to Change the Default Web Browser
22.2.3
How to Open a Web Browser from the IDE
22.2.4
How to Set a Proxy
22.3
Working with Glassfish Application Servers
22.3.1
How to Register a Server Instance
22.3.2
How to View the Server in the IDE
22.3.3
How to Start and Stop the Server
22.3.4
How to View the Server Log File
22.3.5
How to Access the Server Admin Console
22.3.6
How to Modify Server Properties
22.3.7
How to Set up a Connection Pool
22.3.8
How to Set up a JDBC Resource
22.3.9
How to Set up a JMS Resource
22.3.10
How to Set Up a JavaMail Session
22.3.11
How to Register and Delete Resources
22.3.12
How to Manage Users
22.3.13
How to Configure Security Roles
22.3.14
How to Download and Install Server Updates
22.4
Working with Oracle WebLogic Application Servers
22.4.1
How to Register a Server Instance
22.4.2
How to View the Server in the IDE
22.4.3
How to Start and Stop the Server
22.5
Working with JBoss Application Servers
22.5.1
How to Register a Server Instance
22.5.2
How to View the Server in the IDE
22.5.3
How to Start and Stop the Server
22.5.4
How to Set up a Connection Pool
22.5.5
How to Access Application Server Utilities
22.6
Working with Tomcat Web Servers
22.6.1
How to Register a Server Instance
22.6.2
How to View the Server in the IDE
22.6.3
How to Start and Stop the Server
22.6.4
How to Configure the Server Properties
22.6.5
How to Edit the Configuration File
22.6.6
How to Authenticate the Server
22.6.7
How to Set up a Connection Pool
22.7
Working with Web Applications on the Cloud
22.7.1
About Web Applications on the Cloud
22.7.2
How to Register a Cloud Account in the IDE
22.7.3
How to Develop Cloud Applications Locally
22.7.4
How to Deploy Web Applications to the Cloud
22.8
Working with the HTTP Server-Side Monitor
22.8.1
How to Set up the HTTP Server-Side Monitor
22.8.2
How to Analyze Session Data
22.8.3
How to Save Session Data
22.8.4
How to Replay Session Data
23
Working and Connecting with Databases
23.1
About Working and Connecting with Databases
23.2
Working with the Database Tools
23.2.1
How to Browse Database Structures
23.2.2
How to Create Database Tables
23.2.3
How to Create Database Views
23.2.4
How to Add Columns to a Database
23.2.5
How to Delete Database Objects
23.2.6
How to View and Modify Data in a Database
23.2.7
How to Execute SQL Statements
23.2.8
How to Obtain a Database Schema
23.2.9
How to Recapture a Schema from a Database
23.3
Setting up a Database Connection
23.3.1
How to Add a JDBC Driver
23.3.2
How to Connect to the Java DB Database
23.3.3
How to Connect to Oracle Database
23.3.4
How to Use MySQL Database with the IDE
23.3.5
How to Enable Debug Mode