Comments
Patrick Collands wrote: collands (AT) gmail com I'd be very grateful for an invitation. Thank you.
Cloud Expo on Google News

SYS-CON.TV

2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Click For 2008 West
Event Webcasts
Yakov Fain's Java Blog: "Good Old Java" Comes to the Rescue Again – with JavaDB
"Dear Web-app architects take a closer look at JavaDB to be ahead of the game."

Java Developer's Journal enterprise editor, Yakov Fain, writes: Fat client, thin client, Flex, AJAX, asynchronous messaging, applets...How good are all these technologies, from a salesman-sitting-at-a-client perspective, if you’ve lost your database connection? Then comes good old Java to the rescue again, in the shape of a product called JavaDB - Sun’s version of the Apache Derby database.

While this is not the first embedded Java database (BerkeleyDB has existed in this space for a while), its beauty lies in its relatively small footprint (2MB). In the broadband connection era, this opens the door to the new ways of architecting web applications. Your Swing, Flex, or AJAX web client brings the database right to the client PC, and you do not really care anymore if you maintain your connection with the remote database server or not.

Today’s  technologies  provides solutions for disconnected clients. For example, in Java you can use the JDBC RowSet interface which offers a disconnected result set. With Flex remoting, you define messaging channels (AMF and RMTP), and if one connection is not available it’ll try another one.

But isn’t it a breath  of fresh air (especially for the AJAX guys), when the most important part of your application, THE DATA, is right here in your PC's memory, and runs in your browser’s JVM?

How to deploy it on the client? No sweat. It arrives automatically over your HTTP connection packaged in a nice-looking JAR.

As per Francois Orsini, this database was demo'ed at the recent  Apache conference. It would be interesting to take a closer look at this product.

Combine Java DB with some JSR-80  implementation, and you can arrive at the airport with a USB memory stick in your shirt pocket,  stop by the nearby Internet kiosk, download your business application, and work with it for half an hour. Oops they started boarding…No problem. Save the results of your work through the USB port, and off you go!

Dear Web-app architects take a closer look at JavaDB to be ahead of the game.

posted Tuesday, 2 May 2006

About Yakov Fain
Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex". He twits at twitter.com/yfain.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

We are talking about extra time during initial load of your app only. Clients with fast connection will be able to download 4+2 MB in less than 15 sec. Clients with slow connection will have to wait for 90 sec or so.
Do not forget, that you can use Java WebStart, in which case the entire application is stored on your client's PC.

What if my data alone is 4MB, would the client dowload all of it when using Apache Derby database?

What is the cutoff line for the size of data where embedded database ceases to become a not very efficient solution, given my customer has all the mumbo jumbo bandwidth?

Never hesitate to ask stupid/foolish questions!

Rauf

JSR-80? As far as I can tell, there is not much work going on in that direction, only some outdated projects. Seems to me to be a dead spec. Could you point us to an actual, working implementation for multiple platforms?

Wow! How long's this been around, is it brand new?


Your Feedback
Yakov Fain wrote: We are talking about extra time during initial load of your app only. Clients with fast connection will be able to download 4+2 MB in less than 15 sec. Clients with slow connection will have to wait for 90 sec or so. Do not forget, that you can use Java WebStart, in which case the entire application is stored on your client's PC.
Rauf wrote: What if my data alone is 4MB, would the client dowload all of it when using Apache Derby database? What is the cutoff line for the size of data where embedded database ceases to become a not very efficient solution, given my customer has all the mumbo jumbo bandwidth? Never hesitate to ask stupid/foolish questions! Rauf
Denis Robert wrote: JSR-80? As far as I can tell, there is not much work going on in that direction, only some outdated projects. Seems to me to be a dead spec. Could you point us to an actual, working implementation for multiple platforms?
Welcome News wrote: Wow! How long's this been around, is it brand new?
Latest Cloud Developer Stories
CloudBench Applications, Inc. announced its financial results for the three months and nine months ending September 30, 2009. All amounts are stated in Canadian dollars unless otherwise noted. Revenues from BasicGov, the Company's cloud computing solution for local government, gr...
The new contract is an industry first, with CSC being the first Microsoft partner to lead and win a cloud computing services agreement of this scale. Under terms of the contract, CSC will provide Royal Mail Group's 30,000 employees with access to new IT services using Microsoft's...
Operates in over 170 countries and is one of the world’s leading providers of communications solutions and services. Richard Tarboton talks for MeettheBoss.TV on his role as Head of Energy & Carbon for BT and what they are doing towards reducing carbon emissions.
CA is going to put its Agile Planner software on salesforce.com’s Force.com platform in the first half to accelerate development time and give users visibility over their development initiatives to reduce time-to-market. Customers are supposed to be able to accelerate the deploym...
Despite its uncertain fate Sun soldiers on. Monday it trotted out a cloud-based multiplatform desktop as a service for K-12 and community colleges that can run Windows, the Mac OS, Linux and Solaris applications to nearly any client device, including its own Sun Ray thin clients....
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
CloudBench Applications, Inc. announced its financial results for the three months and nine months e...