Chapter 6. Use the Examples

An extensive set of examples are provided as part of the JBoss Web Framework Kit distribution. The purpose of these examples is to demonstrate the frameworks at work individually and in conjunction with each other in sample applications. Each example is well documented with source code comments explaining the reasoning for technology and programming choices. The majority of the examples are Maven-based, illustrating usage of this widely used project build system, and they designed to run with the platforms supported by this release of JBoss Web Framework Kit.
This section details the examples available and provides instructions for building and deploying the applications. Instructions are also provided for achieving these tasks using JBoss Developer Studio.

6.1. Available Examples

All of the examples distributed with this release of JBoss Web Framework Kit can be obtained from the Red Hat Customer Portal. The source for the examples is provided in a number of different .zip files, as detailed here.
demo.zip
Contains one or more demo applications, with a demo.zip for several of the Tier 1 frameworks. Each demo illustrates multiple features from a single framework in use in a medium sized application.
quickstarts.zip
Contains many small applications demonstrating one or more frameworks in use together. Some of the quickstarts are part of collections, for example those named kitchensink and helloworld, and illustrate how to achieve the same web application using different underlying technologies. The source code for all of the quickstarts can also be obtained from http://www.jboss.org/developer-materials/ on the JBoss Developer website and the source for a subset of quickstarts can also be accessed directly within JBoss Developer Studio.
ticketmonster.zip
Contains one application, TicketMonster. It is a moderately complex application that demonstrates how to build modern web applications optimized for mobile and desktop using an array of different technologies. TicketMonster is representative of an online ticketing broker, providing access to events with an online booking application. The source code for this application can also be obtained from http://www.jboss.org/ticket-monster/ on the JBoss Developer website.