The Sun Web Developer Pack Tutorial

This is the The Sun Web Developer Pack Tutorial, a tutorial that covers emerging web technologies like Ajax, REST web services, and scripting language-based web applications. Here we cover all the things you need to know to make the best use of this tutorial.

More PDF Content

The Sun Web Developer Pack Tutorial
Preface

  • Who Should Use This Tutorial
  • About the Examples
    • Required Software
      • Tutorial Bundle
      • Java 2 Platform, Standard Edition
      • GlassFish v2 Application Server
      • Sun Web Developer Pack Release 2 Bundle
      • NetBeans IDE 5.5.1
      • Sun Web Developer Pack R2 Plug-In Module for the NetBeans IDE
      • Apache Ant
    • Building the Examples
      • Building the Examples Using NetBeans IDE 5.5.1
      • Building the Examples on the Command-Line Using Ant
    • Tutorial Example Directory Structure
  • Documentation, Support, and Training
  • Typographical Conventions

Introduction

  • Goals of This Tutorial
  • Requirements for This Tutorial
    • A Checklist
  • Tutorial Overview
    • Introducing Web 2.0
    • Sun Web Developer Pack and Bundled Web 2.0 Technologies
    • Sun Web Developer Pack and NetBeans IDE Plug-ins
    • How to Proceed

Dynamic User Interfaces

  • Dynamic User Interfaces and Ajax
  • Basic Ajax-Enabled Web Application
    • Configuring Your Environment
    • Building and Running the AjaxList Application
      • Building and Running the AjaxList Application in NetBeans IDE 5.5.1
      • Building and Running the AjaxList Application with Ant
    • How the AjaxList Application Works
    • Generating the Client Event
    • Creating and Configuring the XMLHttpRequest Object
    • Sending an Ajax Request
    • Processing the Ajax Request
    • Sending the Response Back to the Client
    • Updating the HTML DOM
  • Contributions of Ajax Toolkits
  • Encapsulating Ajax Functionality in Web Components
  • Project jMaki and Project Dynamic Faces
    • Wrapping Ajax-Enabled Widgets in Web Components Using Project jMaki
    • Adding Ajax Functionality to JavaServer Faces Components Using Project Dynamic Faces

Project jMaki

  • Introduction to Project jMaki
  • What is a jMaki Widget?
  • What Does a jMaki Application Look Like?
  • Creating a jMaki Web Application
  • The simplejMaki Example
    • Building and Running the simplejMaki Application
    • Configuring Your Environment
    • Building and Running the simplejMaki Application in NetBeans IDE 5.5.1
    • Building and Running the simplejMaki Application with Ant
  • Adding a jMaki Widget to a Page
    • Obtaining Application Keys for Google and Yahoo Widgets
      • Obtaining a Google API Key
      • Obtaining a Yahoo URL Key
  • Loading Your Own Data Into a jMaki Widget
    • Loading Data into a Combobox Widget
    • Loading Data into a Table Widget
  • Loading Content from a URL
  • Handling Widget Events
  • Accessing an External Service From a Widget
  • Developing a Web Application Using Project jMaki
    • Creating a New Web Application Project
      • Create the simplejMaki Project
    • Creating the Navigation Using the Fish Eye Widget
      • Adding the Fish Eye Widget to index.jsp
      • Modifying the Fish Eye Widget
      • Adding Images for the Fish Eye Widget
      • Adding a Dynamic Container to index.jsp
    • Creating the Combobox Example Page
      • Creating simpleCombobox.jsp
      • Creating ApplicationBean.java
      • Adding a Display Element for the Results of the Combobox Widget Event
      • Adding a GlueListener for the Combobox Widget Event
    • Creating the Map Example Page
      • Creating comboboxGeocoder.jsp
      • Adding a GlueListener for the Widget Event
    • Creating the Table Data Example Page
      • Creating tableData.jsp
      • Creating Book.java
      • Modifying ApplicationBean.java

Project Dynamic Faces

  • Introduction to Project Dynamic Faces
  • Understanding How Dynamic Faces Works
  • Setting Up Your Application to Use Project Dynamic Faces
    • Initializing the Lifecycle Object
    • Adding the Required JAR Files to the Application
      • Adding the JAR Files to Your Project
    • Setting Up the Page to Use Dynamic Faces
      • Setting Up the Page to Use Dynamic Faces
  • The simpleDynamicFaces Example
    • Configuring Your Environment
    • Building and Running the simpleDynamicFaces Application in NetBeans IDE 5.5.1
    • Building and Running the simpleDynamicFaces Application with Ant
  • Updating Single Components Using the fireAjaxTransaction Function
  • Updating Individual DOM Elements Using installDeferredAjaxTransaction
  • Updating Areas of Your Page Using the ajaxZone Tag
    • Using the ajaxZone Tag\’s execute and render Options
    • Using the ajaxZone Tag\’s inspectElement Option

Lightweight Programming Models

  • Lightweight Programming with Dynamic Languages and the Java Platform
  • Project Phobos: A Lightweight Programming Model
    • Phobos Architecture
  • Building a Simple Phobos Application
    • Structure of a the Calculator Application
    • How the Calculator Application Works
    • Handling the Initial Request
    • Creating the Controller
    • Setting the Initial Parameters and Rendering the View
    • Creating the View
    • Getting the Request Parameters and Calculating the Result
    • Redisplaying the New Values in the Page
  • Creating an Ajax-enabled Phobos Application
    • How the Application Works
    • Creating the List and Rendering the View
    • Creating the Form Template that Displays the List
    • Creating and Sending the XMLHttpRequest to the Server
    • Processing the XMLHttpRequest
    • Updating the HTML DOM
  • Using jMaki Widgets in a Phobos Application
    • The bioFisheye Example
    • Including a jMaki Widget in a Phobos Application
    • Loading Data into a jMaki Widget
  • Using the Java Persistence API in a Phobos Application
  • The Phobos Examples
    • Configuring Your Environment
    • Building and Running the AjaxList Application
      • Building and Running the AjaxList Application in NetBeans IDE 5.5.1
      • Building and Running the AjaxList Application with Ant
    • Building and Running the bioFisheye Application
      • Building and Running the bioFisheye Application in NetBeans IDE 5.5.1
      • Building and Running the bioFisheye Application with Ant
    • Building and Running the Calculator Application
      • Building and Running the Calculator Application in NetBeans IDE 5.5.1
      • Building and Running the Calculator Application with Ant
    • Building and Running the hello Application
      • Building and Running the hello Application in NetBeans IDE 5.5.1
      • Building and Running the hello Application with Ant
  • Developing the Calculator Phobos Application Using the NetBeans IDE
    • Building and Running the Calculator Phobos Application Project
      • Creating a New Phobos Application Project
      • Creating a New Controller File
      • Modifying the calculator.js Controller File
      • Modifying the index.js Script File
      • Creating a New Embedded JavaScript File
      • Modifying the calculator.ejs Embedded JavaScript File
      • Running the Phobos Application
  • Developing the bioFisheye Phobos Web Application Using the NetBeans IDE
    • Building and Running the bioFisheye Phobos Web Application Project
      • Creating the Web Application Project
      • Creating a New Controller File
      • Modifying the fisheye.js Controller File
      • Modifying the index.js Script File
      • Adding Images to the Project
      • Creating New Embedded JavaScript Files
      • Modifying the fisheye.ejs Embedded JavaScript File
      • Modifying the combobox.ejs File
      • Modifying the index.ejs File
      • Modifying the Bio Embedded JavaScript Files
      • Adding a Listener to glue.js
      • Building and Running the bioFisheye Application

RESTful Web Services

  • What Are RESTful Web Services?
    • RESTful Web Services and Other Styles of Web Services
  • Developing RESTful Web Services with the REST API
    • URI Templates
      • URI Template Variables
        • Examples of URI Template Variables
      • The UriTemplate Annotation
    • Responding to HTTP Requests
      • The HttpMethod Annotation
        • Allowed HTTP Methods in @HttpMethod
      • Extracting Method Parameters From URIs
      • Using Entities and Representations
      • Customizing Requests and Responses
        • The @ConsumeMime Annotation
        • The @ProduceMime Annotation
  • The REST Examples
    • Configuring Your Environment
    • The hello Application
      • Building and Running the hello Application in NetBeans IDE 5.5.1
      • Building and Running the hello Application with Ant
    • The calculator Application
      • Building and Running the calculator Application in NetBeans IDE 5.5.1
      • Building and Running the calculator Application with Ant
    • The rsvp Application
      • Removing Attendees
      • Building and Running the rsvp Application in NetBeans IDE 5.5.1
      • Building and Running the rsvp Application with Ant

Working With Web Feeds Using ROME Propono

  • Understanding Web Feeds
    • The ROME Propono API
      • ROME Propono Architecture
  • Creating a Web Feed Using the ROME Propono API
    • The AtomHandler Interface
    • The AtomHandlerFactory Class
  • Publishing to Web Feeds Using the ROME Propono Client API
    • Connecting to an Atom Server
    • Working with a Web Feed
      • The BlogEntry and BlogResourceInterfaces
      • Adding Entries to a Web Feed
      • Retrieving Entries from a Web Feed
  • Creating, Retrieving, and Modifying Feeds in the atom-feed Example
    • Overview of atom-feed
      • The Atom Server
      • The JavaServer Faces Front End
        • The FeedBean Managed Bean
    • Building and Running atom-feed in NetBeans IDE 5.5.1
    • Building and Running atom-feed with Ant

Download The Sun Web Developer Pack Tutorial pdf from download.oracle.com, 162 pages, 1465.03KB.
Related Books

Leave a Reply