Java Reference
In-Depth Information
For information about the Java DB included with the GlassFish Server, see ht-
tp://www.oracle.com/technetwork/java/javadb/overview/in-
dex.html .
To Start the Database Server Using NetBeans IDE
When you start the GlassFish Server using NetBeans IDE, the database server starts auto-
matically. If you ever need to start the database server manually, follow these steps.
1. Click the Services tab.
2. Expand the Databases node.
3. Right-click Java DB and select Start Server.
Next Steps
To stop the database using NetBeans IDE, right-click Java DB and se-
lect Stop Server.
Building the Examples
The tutorial examples are distributed with a configuration file for either NetBeans IDE or
Ant. Either NetBeans IDE or Ant may be used to build, package, deploy, and run the ex-
amples. Directions for building the examples are provided in each chapter.
Tutorial Example Directory Structure
To facilitate iterative development and keep application source separate from compiled
files, the tutorial examples use the Java BluePrints application directory structure.
Each application module has the following structure:
build.xml : Ant build file
src/java : Java source files for the module
src/conf : configuration files for the module, with the exception of web applic-
ations
web : web pages, style sheets, tag files, and images (web applications only)
web/WEB-INF : configuration files for web applications (web applications only)
nbproject : NetBeans project files
When an example has multiple application modules packaged into an EAR file, its sub-
module directories use the following naming conventions:
Search WWH ::




Custom Search