Skip to main content


developerWorks  >  Open source | Web development | WebSphere  >

Develop a simple Web application with Apache Wicket and Apache Geronimo

Combine Wicket, Geronimo, and Apache Derby to form an open source Java Web development platform

developerWorks

Level: Intermediate

Robi Sen (rsen@department13.com), Vice President, Department 13 LLC

10 Jul 2007

Register now or sign in using your IBM ID and password.

Apache Wicket is an innovative Java™ Web application framework that was introduced a couple of years ago. It helps simplify Web application development by clearly separating the roles of developers and designers. It lets you remove logical code from the view layer, eliminating the need for JavaServer Pages (JSP), providing a simple plain old Java object (POJO)-centric mode of development, and removing much of the need for XML and other configuration file formats. In this tutorial, learn how to set up your system to develop a simple Web application with Wicket, using Apache Geronimo as your application server and Apache Derby as the embedded database.

Objectives

  • Learn the basics of Wicket, while using Apache Geronimo to set up a Java Platform, Enterprise Edition (Java EE) server, Web server, and embedded database in minutes.

  • Set up and configure a project to use the Wicket framework with Databinder, which allows Wicket and Hibernate to work nicely together.

  • Combine Wicket, Databinder, and Hibernate with Apache Derby to create a simple Web application in record time.

  • Learn how to deploy your application on Geronimo.


System requirements

Share this tutorial

digg Digg this story
del.icio.us Post to del.icio.us
Slashdot Slashdot it!

You need the following tools to follow along with this tutorial:

  • Apache Geronimo 2.0-M2 with Tomcat 6 — Geronimo is the Java EE application server that you deploy to.
  • An operating system — This application was developed using Microsoft® Windows® XP, but everything involved has been widely used on Linux® and OS X. So you should be able to follow the tutorial using platforms other than Windows.
  • Java JDK 1.5 or later — Java 1.5_11 was used to develop all the code in this tutorial, but 1.5 and later JDKs should work.
  • Embedded database — This tutorial uses Apache Derby, the lightweight, 100% Java-based database. Because Geronimo already has Derby built in, you don't need to download anything.
  • Eclipse — In this tutorial, you use Eclipse 3.2 as the IDE. It's not required, but it greatly simplifies your development process.
  • Apache Maven 2 — You use Maven 2 in this project to automatically gather required files and build projects.
  • Databinder — A lightweight utility written by Nathan Hamblen, Databinder is a tool that lets Wicket and Hibernate work together extremely well, greatly simplifying development of data-driven Wicket applications.

To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Duration

Under 2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss