Web application tutorials and samples

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 SDO Classified Ads Web site

This sample creates a Web application that demonstrates the use of JavaServer Faces (JSF) components and Service Data Objects (SDO) components. This sample uses JSF technology to create dynamic Web pages that link to a database that stores classified ad 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.

Sample: Company Web site

This sample creates a Web site that uses JSP pages, a cascading style sheet, and a page template with dynamic navigation.

Tutorial: Enrich Web pages with style sheets and page templates

This tutorial teaches you how to define the look and feel of a Web site with style sheets and page templates.

Tutorial: Design the layout and structure of a Web site

This tutorial illustrates how to design a simple dynamic Web site that mimics the structure of the classified advertising section in a newspaper.

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.