Hands-on Java DB (Apache Derby) Lab

Abstract

Last year at the ApacheCon keynote with Tim Bray, Francois Orsini demonstrated the novel concept of embedding a database in a browser. This received a lot of attention as people saw how they could use this model to enable a whole new class of web applications. Many people asked for more guidance as to what this looked like and how they could do this themselves. In this tutorial we will show you how this works through the process of building a simple AJAX application that uses a local database. In this tutorial you will learn how to:

  • From an AJAX application, initialize, boot, and connect to a browser-embedded Java DB (based on Apache Derby) database.
  • Send queries to the database and display results
  • Issue database updates after each field exit, providing full recoverability of user data
  • Synchronize data changes between the embedded database and a back end database.

This will be an interactive, hands-on tutorial, so please bring your computer. The software requirements for this tutorial are:

Experience with JavaScript, DHTML, Java and databases is advised but not required.

Speaker

Related Links


Adaptavist Theme Builder Powered by Atlassian Confluence