Developing Web applications

The workbench provides the tools you need to develop Web applications, ranging from static Web pages, to Web sites, to complex Web applications that use JavaServer Faces technologies to access data. Your Web application contains all of the resources that you need to realize your business requirements as well as deployment descriptors to test and publish your application to a server.

 

Overview

You can read the following topics before creating a Web application. They provide planning and technology overview information that may be useful if you are new to Web application development or developing Web application in this development environment.

Static Web projects

Dynamic Web projects and applications

JSP technology

Servlets

JavaServer Faces (JSF) overview

Struts overview

Criteria for choosing Struts or JavaServer Faces

Asynchronous JavaScript™ and XML (AJAX) overview

 

Getting Started

If you are already familiar with Web development technology the following topics will guide you through the development process.

Creating Web projects

Creating a Web site

Creating and importing Web pages and resources

Creating Web page content

Creating Rich Internet Applications (RIA)

Developing Faces applications

Developing Web applications using Struts

Testing and publishing Web applications

Adding tags to Web pages

 

Samples and Tutorials

Learn about different aspects of Web application development from the following samples and tutorials:

Sample: JPA JSF Employee List application

This sample demonstrates the use of Java Persistent API (JPA) to access employee data. In this sample, the application maps persistent entities to columns in a database table and presents the information on a Web site where users can create, read, updated, and delete data.

Sample: JSF and SDO

This sample contains a set of JSF applications that demonstrate how to use IBM® Java Widget Language (JWL) components in your Web applications.

Sample: Ajax Hello World

This sample demonstrates Web 2.0 features in this product. The sample application illustrates how you can create a Dojo input form that is submitted to a servlet using an Ajax request and is returned as a Dojo dialog.

Sample: Web 2.0 streaming stock quotes

This sample uses a Web messaging service to simulate stock quotes to a Dojo-enabled client application.

Sample: Ajax Web application using the Dojo Toolkit

This sample demonstrates Ajax-style architecture through the use of Dojo widgets.

Sample: Web 2.0 RSS and ATOM feeds

This sample application illustrates how you can add and read RSS and ATOM feeds.

Sample: Struts

This sample illustrates how to create various Struts applications using the Struts 1.2.9 distribution and the Struts 1.3.8 distribution.

Tutorial: Create a dynamic Web application with AJAX

This tutorial demonstrates how to expose a server-side method to an AJAX-enabled client application using RPC Adapter technology and the Dojo Toolkit.

Tutorial: Use Struts to create a Web application

In this tutorial, you will learn how to create a simple Struts application that contains two Web pages, an action mapping, and a form bean. You will learn to use the Web diagram editor to help you visualize the logic flow of the application.

Tutorial: Display dynamic information on Web pages with JavaServer Faces

This tutorial teaches you how to design a dynamic Web site that uses JSF components that access data.

For a complete list of Web samples and tutorials, refer to Web application tutorials and samples

 

Web resources for learning

In addition to the information found in this infocenter, the following links provide additional learning material.

IBM Redbooks®: Rational® Application Developer V7 Programming Guide

Latest developerWorks articles and tutorials about Web applications