Tuesday May 22, 2007

Java DB Support

The Java DB (based on Apache Derby) support offering page is now online. Note that you can also consult the Apache Derby derby-user mailing list using Nabble for getting answers or even post your questions to this last one. Apache Derby has a very active community and getting feedback via the mailing lists is a way to participate. In fact, by asking questions on the list, one is in a way adding persistent content that someone might find useful and get to via Nabble at some point ;-)

Monday May 07, 2007

First Commercial Application to run on JRuby also uses Apache Derby

I heard the news from JRuby core developer Olivier Nutter at CommunityOne as I was setting up for my presentation with Kevin Henrikson from Zimbra.

Yes, so ThoughtWorks Studios will have their collaborative development project management solution named Mingle be the first commercially-distributed Rails application to run on JRuby.

Mingle 1.0 which should be released in June 07', will be running with a Jetty web front-end and an Apache Derby database back-end.

InfoQ blog on the subject reports that performance has not been a major concern. The current runtime easily supports hundreds of concurrent users with a simple cluster, and JRuby performance has been getting faster all the time. According to the team, experimental deployments have included 10 JRuby interpreters running in a single JVM process.

Thursday May 03, 2007

Enabling Offline Web Applications with Java DB

As David Van Couvering pointed out in his blog, I will be co-presenting with Kevin Henrikson from Zimbra at CommunityOne and JavaOne 2007 next week. Kevin will especially highlight how they have implemented offline support in their current Zimbra Desktop offering.

We will discuss how today's and tomorrow's Rich Internet Applications (RIA's) can be enabled to run offline and allow the users to keep using the same application, while not being connected to the net.

You can get a sneak peak of what we will talking about based on David Berlind's recent article on the subject of enabling offline Rich Internet Applications using some local storage such as Java DB / Apache Derby and some Local Ajax (LAJAX) or Asynchronous JavaScript technic based on LiveConnect.

Wednesday Apr 25, 2007

An Apache Derby unBOF at JavaOne 2007

Come learn what's cool and what's new in Apache Derby, the database for Java applications, from Derby committers and community members. This is a great opportunity to meet with the Apache Derby community and Java DB folks. Of course, there will be Beer, wine, soft drinks, and very nice snacks!

\*Tuesday evening, 8 May from 7:00 to 10:00+ pm \*\*
@ Jillian's in the Sony Metreon, right next to the Moscone Center
101 4th Street, Suite 170, San Francisco\*

Monday Apr 23, 2007

FISL 8.0 Conference in Brazil

Simon Phipps has posted a neat picture of Sun's booth at FISL 8.0 (Porto Alegre, Brazil) where I just came back from last week.

As usual and once again, the conference has been terrific - Lots of attendees (5,363) and it is all about free and open source software. It was incredible (even after my second time there) to experience the level of interest from the attendees - Very nice folks and this conference keeps you busy for sure until dusk ;-).

Also, for a "meaterian" like me ;-), it was absolutely awesome to experience the intense BBQ cuisine from Brazil (churrasco)and this area.

I gave a presentation on particular technics on how to enable offline web applications (RIA) using Java DB - I will give a more elaborated talk at JavaOne 2007 where I'm co-presenting with Zimbra on their next-generation suite of collaborative web applications that can operate homogeneously online and offline (Zimbra Desktop), using Apache Derby.

Many thanks to Rafael Vanoni for hosting my talk and speaking Portuguese better than I do ;-)

Obrigado a Todos!

Thursday Apr 19, 2007

Ubuntu Users Gets Java DB Surprise and A Lot More Than That...

It has been announced today, Ubuntu Feisty Fawn (7.04) has been released and it includes Sun's complete Java stack.

This is the first time that an entire, production quality Java stack with tooling is being included in an open source GNU/Linux distribution - greatly simplifying the process for Linux developers and users to access Java technology.

The complete and fully supported components of Sun's Java stack which are packaged for Ubuntu are Java SE 6 JDK, GlassFish v1, NetBeans IDE 5.5 and Java DB 10.2 (based on Apache Derby). (FAQ)

You can also check Tom Marble's blog entry for additional information. This is very exciting indeed.

You can 'apt-get' install Java DB as an optional Ubuntu package such as:
# apt-get install sun-java6-javadb
and it should get installed under '/usr/lib/jvm/java-6-sun/db/'

Friday Mar 16, 2007

Sequoia database clustering middleware with GlassFish and Java DB (Apache Derby)

Jagadish Ramu has written a demo and tutorial article to show how GlassFish and Sequoia can be used together to provide database clustering capability with Apache Derby / Java DB.

Sequoia is an open source database clustering middleware that allows any Java application to transparently
access a cluster of databases through JDBC. No code change is required to enable an application to have failover, replication capabilities.

This demo will have the modified sample application from Netbeans, deployed in GlassFish,
interacting with Sequoia controller for database operations with Apache Derby. The only change needed in the sample is to
configure the properties of jdbc-connection-pool to interact with the Sequoia controller.

Thursday Mar 08, 2007

Sun’s Open Source Contribution: $2 Billion, Dozens of Projects and Yes that includes Apache Derby

A nice spotlight on Open Source and Sun's contribution. Dan Roberts, Director of Marketing at Sun, chats with Simon Phipps, Sun’s chief open source officer.

"Did you know that Sun contributes more than $200 million per year of intellectual property to the open source movement, in dozens of open source projects? The company’s historical contribution tops $2 billion."

You can also find more about Sun's Free and Open Source initiatives at http://www.sun.com/software/opensource/

Java DB (Sun's supported distribution of Apache Derby) is one of the projects I'm proud to work on.

Tuesday Mar 06, 2007

Migrating Your Application to Use Java DB

In this article, a web application that was developed using the Pointbase database is migrated to use Java DB. The web application was originally developed in the NetBeans 4.1 integrated development environment (IDE).

Java DB is Sun Microsystem's supported distribution of the Apache Derby 100% Java database. IF you are using JDK 6, Java DB is included as part of this last one. You can also download the Sun Java System Application Server, which includes Java DB.

When registering the application server in NetBeans 5.5, Java DB will be automatically registered as well. Alternatively, you can download the Java EE 5 Tools Bundle, which includes both the NetBeans IDE and Sun Java System Application Server.. Java DB is fully transactional, secure, and compliant with the JDBC, SQL, and J2EE standards.

Wednesday Feb 14, 2007

Connecting a GUI to a Java DB Database with NetBeans IDE

This NetBeans tutorial contributed by Talley Mulligan guides you through the process of connecting the GUI of an application to a Java DB database. It shows how to add data-aware JDBC components to the GUI that will enable the program to interact with the database.

If you have not seen it already, there is also a "Working with the Java DB (Derby) Database in Netbeans 5.5" tutorial contributed by Brian Leonard.

Wednesday Feb 07, 2007

ActiveMQ graduates from Apache Incubator and uses Apache Derby

Apache ActiveMQ Open Source Message Broker has now graduated to become a top level project (TLP) at Apache! Congratulations to the ActiveMQ community!

To achieve high performance of durable messaging, ActiveMQ embeds and uses Apache Derby (configured by default), to allow for some very fast persistence via JDBC, coupled along with ActiveMQ's high performance journal.

Friday Feb 02, 2007

Archived Apache Derby Mailing lists - A great resource for Derby Users and Developers

I have been using Nabble for quite some time now and I have to say that it provides a great way to search and browse archived mailing lists.

If you need to get some Derby questions answered, you might want to do a search on the Apache Derby Users mailing list or the developers one, if you want to know more about Derby internals.

Of course, there is additional resources on the Apache Derby website itself.

Thursday Feb 01, 2007

Projects & Products using Derby (Java DB)

If your product is using Apache Derby, I encourage you to make mention of it in the Projects & Products using Derby web page.

Java DB, which is based on Apache Derby and bundled with Sun JDK 6 is using the same database core engine.

Tuesday Jan 16, 2007

Java TV

Intriguing blog entry title eh? Well, no it's not a new product from Sun Microsystems, neither some TV that can run or deliver some Java...

It a is repository of video interviews around Java posted by Developpez.com, one of the biggest Java developers community in France.

Please note that a lot of the videos are in french but not all of them.

Most recently posted video interviews are of Marc Fleury (JBoss), Vincent Massol (XWiki) and myself (Java DB).

Open Source Report on Apache Derby

David Spector has published an interesting article about Apache Derby on the Open Source Report blog.

Friday Jan 05, 2007

First batch of JavaPolis 2006 slides available

The JavaPolis 2006 conference was a blast - There were more than 2,800 attendees and a lot of interesting presentations. I believe this is the biggest Java conference in Europe at the moment.

A first batch of some slides have been posted at the JavaPolis site.

Many thanks to Mr. JavaPolis, Stephan Janssen and his peers for organizing such a successful event.

The slides for the 2 Java DB quicky presentations I gave should be available in the next batch hopefully.

Tuesday Dec 05, 2006

JavaPolis 2006 (J-8) and Java DB presentations

I will be in Antwerp (Belgium) next week to attend JavaPolis 2006 and give 2 presentations of Java DB (based on Apache Derby) as well as some Lab:

- Java DB Overview

- Java DB Performance

- Hands-on Java DB Lab

If you want to discuss anything related to Java DB / Apache Derby, please feel free to contact me over there - I will be at the Sun Java DB booth as well when not attending or giving a session.

See you in JavaPolis.

Wednesday Nov 22, 2006

Easysoft ODBC-JDBC Gateway certified for Java DB / Apache Derby

The Easysoft ODBC-JDBC Gateway which lets ODBC-enabled applications such as Business Objects, Microsoft Access, Microsoft Excel and Microsoft SQL Server access Java databases, is now certified with Java DB.

Note that the gateway is also available for the Solaris platform.

Tuesday Nov 21, 2006

Databases community at OpenSolaris.org

There is a new databases community at OpenSolaris.org.

This community is about all databases on Solaris. It is for both users of databases as well as those of us involved in creating and delivering database technology.

Topics will range from:

\* How to make your database run best on Solaris
\* Ideas for improving Solaris to better enable database technology
\* Comparison and contrast of various database technologies
\* Pointers to open source database add-ons, tools, and other code
\* Other topics related to databases on Solaris

Please feel free to join in and participate!

Wednesday Dec 14, 2005

ApacheCon demo - Web Browser Client Offline Storage with Java DB / Apache Derby

What I demo'ed at Apache during Tim Bray's keynotes was one particular use case of embedded Apache Derby (100% pure Java RDBMS) running within a web browser such as Mozilla Firefox...This allowed me to persist data automatically as HTML FORM fields got changed (at the field level or not) - It autosaved data entries locally without being paranoid about loosing my data in case of a browser crash or bad manipulation (fat fingers anyone?)...The store service can be called at anytime really from your client script...

Various database systems excel at different types of needs...My intent here was to use Apache Derby as the repository for an application managing some user's personal data (i.e. personal/private/financial taxes info). This is very different than managing browser's data/metadata (i.e. bookmarks, history, cache, etc) at the low-level and where indeed I would need a closer integration of the RDBMS with the browser engine...The demo highlighted how a web application could be enhanced (fast, embedded and secure local SQL storage) across web browsers, not just how it could enhance a particular web browser (i.e. Firefox).

As this particular demo manages personal and financial data, it is very likely that a production application would want to encrypt the data stored on the client storage - This is a possible and very likely an application requirement for this type of webapps. Derby supports strong encryption at the database level as well as strong authentication at the Derby engine or/and database level. Hence, I can have my local derby database(s) be secure, portable and platform independent without having to worry if I loose my usb drive or stick and my DB is on it...Derby also has some ACL-light support for embedded type of apps but Ansi SQL Grant & Revoke is being implemented as we speak - this is independent of the OS FS file permission scheme and is portable across OS's.

The demo I shown is one particular browser database integration scheme/topology - I did not have to \*natively\* integrate with the browser engine at all for this application. It was all driven from the application scripting logic interacting directly with a ClientStoreService object - This last one is implemented in Java and acts as a controller to the local client storage (Derby). It is seen as an object from Javascript (LiveConnect technology) which allows me to access some client storage service to issue queries and get data returned in XML, parse/process it with the native scripting engine XML Dom parser. The ClientStore Service can process requests asynchronously or not - I have another implementation where I added some HTTP request handling capability to Derby but this is NOT part of Apache Derby (yet) - this allows me to send a (Local) AJAX request (LAJAX) to Derby directly and get data returned as XML. The scripting engine does NOT have to be Javascript for the (L)AJAX mode...

For the Java engine I used Sun's JRE (browser Java plugin) which is a one-click install and is portable across and widely known web browsers.

Requirements for this Webapp demo were:
- A fast, embeddable, portable and secure (authentication/authorization/encryption) local client storage engine
- Portable across most widely known web browsers (at least 2 of them)
- Support for scripting standard asynchronous requests (Ajax mode) to the embedded client data store
- Various deployment options for the web application and database engine
- Support for direct access via a client scripting engine (non-Ajax mode, ala LiveConnect)

The deployment options for the ClientStorage engine and service would be:
- Direct HTTP download and archival of JARs,
- Direct copy of files,
- Firefox extension (w/ a dependence on the J2SE runtime environment Firefox plugin)
- Web shipping of already pre-populated databases, then made available locally to the web browser.

You can read all the details about this demo and get the source code at:

Thanks for reading...





« July 2016