Great stuff, Susan! I've been working on a very similar version, but
I'm trying out DWR (http://getahead.ltd.uk/dwr) instead of using XML.
It's a much easier programming model (IMHO) and only adds 185K to the
total download size.
I'm also trying to use Java Persistence instead of JDBC, but that's much
more heavyweight. It again really simplifies the programming, but it
adds another 2MB to the total download size (I'm getting the
implementation from Glassfish). I could use Pack200 to make that
smaller, but still, that's a heavy chunk of change.
Good to know about XMLSERIALIZE, I didn't know about that!
David
Susan Cline wrote:
Francois Orsini [1] created a demo for ApacheCon in San Diego last year
which demonstrated how to user Derby from within a browser. His talk was very
well received at the conference.
Based on his work I wrote an article [2] which includes a sample address book application
which embeds Derby and a Jetty web server in a Firefox browser. Derby acts as
the data repository, Jetty is used to host a controller servlet and respond to
http
requests and Ajax technologies are used to enhance the look and feel of the
application as well as to improve the overall responsiveness of the application.
All source, html files and JavaScript files are included.
Susan
[1] http://www.nabble.com/Derby-in-a-browser-demo-now-available%21%21-tf1171149.html#a3076994
[2] http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0607cline/