| By Yakov Fain | Article Rating: |
|
| May 2, 2006 08:30 AM EDT | Reads: |
16,425 |
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.
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
Published May 2, 2006 Reads 16,425
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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. Yakov co-athored the O'Reilly book "Enterprise Application Development with Flex". He twits at twitter.com/yfain.
![]() |
Yakov Fain 05/08/06 05:52:08 AM EDT | |||
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. |
||||
![]() |
Rauf 05/06/06 04:52:25 PM EDT | |||
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 05/02/06 09:27:44 AM EDT | |||
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 05/02/06 07:02:38 AM EDT | |||
Wow! How long's this been around, is it brand new? |
||||
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?



















