Sitemap | Japanese

Sample Web Application (JSP) for Berkeley DB Java Edition


Introduction

This is a sample Web application using Berkeley DB Java Edition. Using a user ID as a key, you can add, view and update user information and mileage balance.

Download: berkdemo.war

This demonstration application was originally written for a Windows application called ID Kicker used to pass ID of an RFID contactless card to a server-side application. I removed Kicker-dependent part (very few) from the application code.

form-en.gif

About Berkeley DB Java Edition

Berkeley DB Java Edition is a Java version of a C-language Berkeley DB library famous in UNIX world as dbm.
It was developed and distributed by Sleepycat Software, but due to buyout, is currently distributed by Oracle.

http://www.oracle.com/technology/software/products/berkeley-db/je/index.html

Contents of the WAR file

Here are contents of berkdemo.war.

	index.htm - Top entry page (in English)
	en/index.jsp - JSP page in English
	jp/index.jsp - JSP page in Japanese
	WEB-INF/web.xml - Webapp configuration for Windows
	WEB-INF/linux-web.xml - Webapp configuration for UNIX
	WEB-INF/classes/test/BerkeleyDB.java - source code
	WEB-INF/classes/test/Record.java
	WEB-INF/classes/test/BerkeleyDB$RecordBinding.class - java classes
	WEB-INF/classes/test/BerkeleyDB.class
	WEB-INF/classes/test/Record.class

How to Run this Demo

Install Berkeley DB Java Edition and the sample application to your web application server. The following steps describe the case of Tomcat. The directory paths shown are relative from the Tomcat installation directory.

Information

For ID Kicker, visit Contactless ID card page at Kobu.Com.

The original ID Kicker demo application is running at our web site.


Presented by: Kobu.Com

Copyright © 2009 Kobu.Com. All rights reserved.
Updated 2009 Jul 06

The published sample code is a prototype and is not complete.
Please refrain from duplicating the sample code and its document in another place.
This page is link-free. We welcome your questions and comments.