Difference between revisions of "Web Application Creation Tutorial"

From PresenceWiki
Jump to: navigation, search
 
(Prerequisites)
Line 6: Line 6:
  
 
* [http://tomcat.apache.org/download-60.cgi Tomcat Download Link]
 
* [http://tomcat.apache.org/download-60.cgi Tomcat Download Link]
 +
 +
=== Part one: Task Creation ===
 +
 +
For this example we will create a simple application that asks the user's name and then returns some information about the name. For this we will need two Tasks which:
 +
 +
* Display a page requesting the user's name
 +
* Display a page showing information about the user's name
 +
 +
In a real world example both of these pages could be generated by a single Task, but we want to demonstrate multiple Tasks being used by a Web Application.
 +
 +
# Create a new Category called "Name Analysis"
 +
# Create a new Task in the Category called "Request Name"
 +
# Create a new Task in the Category called "Analyse Name"
 +
 +
The Tasks can be downloaded from [http://www.international-presence.com/wikidocs/samples/Name_Analysis.xml here]. Go ahead and import them into Presence.

Revision as of 08:49, 12 July 2010

This document describes the processes needed to create and deploy a Presence Web Application.

Prerequisites

For this tutorial you will need to install and run a Servlet Engine such as Tomcat:

Part one: Task Creation

For this example we will create a simple application that asks the user's name and then returns some information about the name. For this we will need two Tasks which:

  • Display a page requesting the user's name
  • Display a page showing information about the user's name

In a real world example both of these pages could be generated by a single Task, but we want to demonstrate multiple Tasks being used by a Web Application.

  1. Create a new Category called "Name Analysis"
  2. Create a new Task in the Category called "Request Name"
  3. Create a new Task in the Category called "Analyse Name"

The Tasks can be downloaded from here. Go ahead and import them into Presence.