Skip to main content


developerWorks  >  Open source | Information Management  >

Create a wiki system using Derby, Part 1: The basic system and regular expressions

developerWorks

Level: Intermediate

Daniel Wintschel (daniel@humandoing.net), Author and developer

18 Oct 2005

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

One form of communication gaining popularity today is the wiki, which enables users -- not just administrators -- to make changes to a Web site directly through the Web interface, automatically adding features, such as formatting and outgoing links. In this two-part series, you use the ability to embed Apache Derby in a Web application server to create a simple wiki system. This first tutorial gives you an overview of the basic system and regular expressions.

In this tutorial

  • What's a wiki?

  • Set up the system

  • Create a user account

  • Create pages

  • Use regular expressions

Prerequisites

This tutorial assumes that you have a basic knowledge of the Java Servlet API and JDBC.

To run the example code in this tutorial, you need to perform the following steps:

  1. Download and install the following applications:
    • Tomcat, Version 5.0.28
    • Derby 10.1.1.0
    • Apache Ant 1.6.5
    • J2SE 1.4.2_09
  2. Define some environmental variables (which are outlined in the first page of the tutorial).
  3. Extract the supplied .zip file.
  4. Modify the /web/WEB-INF/web.xml file to specify where you want Derby to create your wiki database.

System requirements



Duration

Under two 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


My developerWorks needs you!

Connect to your technical community