2. Using the Tutorial Examples Java Platform, Standard Edition Sun Java System Application Server 9.1 Starting and Stopping the Application Server Starting and Stopping the Java DB Database Server Building the Examples Using NetBeans IDE Building the Examples on the Command-Line Using Ant Tutorial Example Directory Structure Debugging Java EE Applications 3. Getting Started with Web Applications 5. JavaServer Pages Technology 7. JavaServer Pages Standard Tag Library 10. JavaServer Faces Technology 11. Using JavaServer Faces Technology in JSP Pages 12. Developing with JavaServer Faces Technology 13. Creating Custom UI Components 14. Configuring JavaServer Faces Applications 15. Internationalizing and Localizing Web Applications 16. Building Web Services with JAX-WS 17. Binding between XML Schema and Java Classes 19. SOAP with Attachments API for Java 21. Getting Started with Enterprise Beans 23. A Message-Driven Bean Example 24. Introduction to the Java Persistence API 25. Persistence in the Web Tier 26. Persistence in the EJB Tier 27. The Java Persistence Query Language 28. Introduction to Security in the Java EE Platform 29. Securing Java EE Applications 31. The Java Message Service API 32. Java EE Examples Using the JMS API 36. The Coffee Break Application | Required SoftwareThe following software is required to run the examples. Tutorial BundleThe tutorial example source is contained in the tutorial bundle. To Obtain the Tutorial Bundle
Next StepsAfter you have installed the tutorial bundle, the example source code is inthetut-install/javaeetutorial5/examples/ directory, wheretut-install is the directory where you installed the tutorial.Theexamples directory contains subdirectories for each of the technologies discussed in thetutorial. Java Platform, Standard EditionTo build, deploy, and run the examples, you need a copy ofJava Platform, Standard Edition 5.0 or Java Platform, Standard Edition 6.0 (J2SE 5.0or JDK 6). You can download the J2SE 5.0 software fromhttp://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html. Youcan download the JDK 6 software fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html. Download the current JDK update that does not include any other software (suchas NetBeans or Java EE). Sun Java System Application Server 9.1Sun Java System Application Server 9.1 is targeted as the build and runtimeenvironment for the tutorial examples. To build, deploy, and run the examples, youneed a copy of the Application Server and, optionally, NetBeans IDE. You candownload the Application Server fromhttp://java.sun.com/javaee/downloads/previous_u6/index.jsp. Scroll down to the section entitledIndependent Component Downloads and click the Download linknext toSun Java System Application Server 9.1 Update 2. Note -You can also run the tutorial examples using GlassFish v2. Refer to theJava EE Tutorial Compatibility Wiki page for information about the versions of theApplication Server and the Sun GlassFish Enterprise Server with which the tutorial exampleshave been tested. Application Server Installation TipsDuring the installation of the Application Server:
This tutorial refers to the directory where you install the Application Serverasas-install. For example, the default installation directory on Microsoft Windows isC:\Sun\AppServer,soas-install isC:\Sun\AppServer. After you install the Application Server, add the following directories to yourPATHto avoid having to specify the full path when you use commands: as-install/binas-install/lib/ant/bin NetBeans IDEThe NetBeans integrated development environment (IDE) is a free, open-source IDE for developingJava applications, including enterprise applications. NetBeans IDE supports the Java EE 5 platform.You can build, package, deploy, and run the tutorial examples from within NetBeansIDE. You can download NetBeans IDE fromhttp://www.netbeans.org/. Refer to theJava EE Tutorial Compatibility Wiki page for information about the versions of NetBeansIDE with which the tutorial examples have been tested. 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. Antis included with the Application Server. To use theant command, addas-install/lib/ant/binto yourPATH environment variable. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.Legal Notices |