sun.com
docs.sun.com
My Sun
Worldwide Sites
Products
Downloads
Service & Solutions
Support
Training
Research
The Sun Web Developer Pack Tutorial
May 2007
+
Document Information
+
Preface
+
1. Introduction
+
2. Dynamic User Interfaces
+
3. Project jMaki
+
4. Project Dynamic Faces
-
5. 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
+
6. RESTful Web Services
+
7. Working With Web Feeds Using ROME Propono
Company Info
Contact
Terms of Use
Privacy
Copyright 1994-2007 Sun Microsystems, Inc.