Required SoftwareThe following software is required to run the examples. Java Platform, Standard EditionTo build, deploy, and run the examples, you need a copy of the Java Platform, Standard Edition 6.0 Software Development Kit (JDK 6). You can download the JDK 6 software from http://java.sun.com/javase/downloads/. Download the current JDK update that does not include any other software (such as NetBeans or Java EE). Java EE 6 Software Development Kit (SDK)Sun GlassFish Enterprise Server v3 Preview is targeted as the build and runtime environment for the tutorial examples. To build, deploy, and run the examples, you need a copy of the Enterprise Server and, optionally, NetBeans IDE. To obtain the Enterprise Server, you must install the Java EE 6 Software Development Kit (SDK), which you can download from http://java.sun.com/javaee/downloads/preview/. Scroll down to the section entitled Download the Components Independently and click the Download link next to Sun GlassFish Enterprise Server v3 Preview. Refer to the Java EE Tutorial Compatibility Wiki page for information about the versions of the Enterprise Server with which the tutorial examples have been tested. SDK Installation TipsDuring the installation of the SDK:
This tutorial refers to the directory where you install the Enterprise Server as as-install. For example, the default installation directory on Microsoft Windows is C:\glassfishv3, so as-install is C:\glassfishv3. After you install the Enterprise Server, add the following directories to your PATH to avoid having to specify the full path when you use commands: as-install/bin as-install/glassfish/bin Apache AntAnt is a Java technology-based build tool developed by the Apache Software Foundation (http://ant.apache.org/), and is used to build, package, and deploy the tutorial examples. To run the tutorial examples, you need Ant v1.7.1. If you do not already have Ant v1.7.1, you can install it from the Update Tool that is part of the Enterprise Server. To Obtain Apache Ant
Next StepsTo use the ant command, add as-install/ant/bin to your PATH environment variable. Java EE 6 Tutorial ComponentThe tutorial example source is contained in the tutorial component. To obtain the tutorial component, use the Update Tool. To Obtain the Tutorial Component
NetBeans IDEThe NetBeans integrated development environment (IDE) is a free, open-source IDE for developing Java applications, including enterprise applications. NetBeans IDE supports the Java EE platform. You can build, package, deploy, and run the tutorial examples from within NetBeans IDE. To run the tutorial examples, you need NetBeans IDE version 6.7. You can download NetBeans IDE from http://www.netbeans.org/downloads/index.html. Refer to the Java EE Tutorial Compatibility Wiki page for information about the versions of NetBeans IDE with which the tutorial examples have been tested. Enabling Enterprise Server v3 Preview Support in NetBeans IDE 6.7Once you have NetBeans IDE, you must configure it to support Sun GlassFish Enterprise Server v3 Preview.
To Add Enterprise Server as a Server in NetBeans IDETo run the tutorial examples in NetBeans IDE, you must register your Enterprise Server installation as a NetBeans Server Instance. Follow these instructions to register the Enterprise Server in NetBeans IDE.
|