Monday, September 08, 2008    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< May 2007 >>
S M T W T F S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories
 • Acrobat (2) [RSS]
 • Adobe (67) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (22) [RSS]
 • AIR (126) [RSS]
 • Appearances (118) [RSS]
 • Books (68) [RSS]
 • CFEclipse (14) [RSS]
 • ColdFusion (1143) [RSS]
 • Data Services (12) [RSS]
 • Fish Tank (2) [RSS]
 • Flash (103) [RSS]
 • Flex (365) [RSS]
 • Home Automation (3) [RSS]
 • Jobs (93) [RSS]
 • JRun (12) [RSS]
 • Labs (27) [RSS]
 • LiveCycle (21) [RSS]
 • MAX (157) [RSS]
 • Regular Expressions (12) [RSS]
 • RIA (4) [RSS]
 • SQL (37) [RSS]
 • Stuff (503) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (136) [RSS]
 • Wireless (97) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Day : May 28, 2007 / Main
May 28, 2007

Scorpio And Apache Derby

Apache Derby is an open source relational database implemented entirely in Java - it has a tiny footprint (2MB or so), includes an embedded JDBC driver, and supports both simple local access as well as client-server type access.

So what does this have to do with ColdFusion? Well, Jason Delmore mentioned this in passing at cf:Objective (and few picked up on it), but we plan to include Apache Derby in ColdFusion Scorpio. The practical implication of this is that if you have to distribute an app that needs a database, you'll now have one that will work consistently on all platforms (no more having to tinker with different databases on different platforms).

Related Blog Entries

TrackBacks
There are no trackbacks for this entry.

No trackback URL. Trackbacks are only allowed via interactive form.

Comments
this is good, esp for a quick bit of ad-hoc development. I'm sorry I downloaded MySQL for my Mac now, I hardly use the flamin' thing...




just thinking out loud.... (and for client use, not server)

I wonder if this brings the idea of an embedded database closer to Apollo?
# Posted By barry.b | 5/28/07 9:47 AM
That's very cool. If for no other reason that there would be a standard for all sample aps so people wouldn't have to avoid this db or that db if they didn't have it installed.
# Posted By Adam Fortuna | 5/28/07 10:03 AM
This is great news.

How big a database can Derby support? In short is this a comparable option for Access, MySQL/SQLServer or Oracle?
# Posted By Sam Farmer | 5/28/07 10:06 AM
That's sweet. I was thinking it might be fun to try and implement a tinyDB, but Adobe's done it for me - awesome.
# Posted By Sammy Larbi | 5/28/07 10:25 AM
Great news Ben, I have been keen to use Derby in the past for ColdFusion applications. It provides great potential, especailly in local access mode.
# Posted By Mike Baker | 5/28/07 11:11 AM
That is great news indeed.
Thanks for mentioning this one again as I had definitely not heard it.
# Posted By Mike Kelp | 5/28/07 11:18 AM
Adam, agreed, and I intend to use it for the examples in the next CFWACK.

Sam, I don't have lots of experience with it, but, we do support two modes ... a local access mode which is a lot like Access, and a client-server mode where CF connects to a remote server (much like MySQL or other server DBMSs). As for db size, I don't know, but I have heard that there are some pretty big .com sites running it. I won't share names as I don't know this as a fact.

--- Ben
# Posted By Ben Forta | 5/28/07 11:41 AM
Now... this is defitely another move in the right direction. (I had not even considered asking for this because CF works so great with databases to start with!) KUDOS Jason and the Scorpio team!
# Posted By John Farrar | 5/28/07 2:41 PM
That is a great idea! I know ColdFusion contains all sorts of technologies (like Verity) but this would be an excellent addition.
# Posted By Peter Tilbrook | 5/28/07 8:58 PM
This is great news . . . will definitely give me some ideas. I hope this is going to be well documented for those of us who may be doing something like this . . .
# Posted By Lola LB | 5/28/07 9:01 PM
Yes, this is a great idea. Thank you!

Derby links pertaining to sizes:
http://db.apache.org/derby/docs/dev/devguide/devgu...
http://db.apache.org/derby/docs/dev/ref/ref-single...

Will SQuirreL be the recommended GUI?
http://db.apache.org/derby/integrate/SQuirreL_Derb...
# Posted By Aaron Neff | 5/29/07 3:40 AM
Aaron, ther is no reccommended UI at this point, use whatever you want, or just use <CFQUERY> tags. I am indeed using SQuirreL, which is decent, but not great. I also have the Derby Eclipse plug-in which is ok as a command-line tool. Honestly, I've not seen a great Derby GUI client yet.

--- Ben
# Posted By Ben Forta | 5/29/07 7:21 AM
Ben,
Team Technology Inc. is located in Charlotte, NC. We have a client who needs a Cold Fusion developer for 3 months. They have 14 active URLs and their web person has gone on maternity leave. Do you know anyone that might have an interest in a 3 month gig?

I am a senior recruiter for Team and have been here for 7 years.

We thought we had someone lined up from Atlanta and he accepted a position closer to his home.

Thank you in advance for your help.
Claudia
# Posted By Claudia Toner | 5/29/07 2:19 PM
Guess I should include my contact information. ctoner@teamt.com if anyone would like to submit a resume and your all inclusive hourly rate for 3 months in Charlotte, NC.

Thanks again, Ben.

Claudia
# Posted By Claudia Toner | 5/29/07 2:23 PM
I have been using Derby since it was cloudscape and in my experience Derby is fine for most small to medium sized web applications. It performs relatively well, has a small foot print, and in general is easy to work with.
I wrote a article for IBM years ago on using Azzuri Clay Eclipse Plugin and SQLExplorer for DB development see http://www-128.ibm.com/developerworks/edu/os-dw-os... With Azzuri (which is free) you can reverse generate DB's, generate a ERD, Validate your DB model, and Edit your DBS.
See screen shots here
http://www.azzurri.jp/en/software/clay/screenshots...

Also my Eclipse has decent DB support. Better than MySQL tools thats for sure.
# Posted By Robi Sen | 7/1/07 5:27 AM

  © Copyright 1997-2008 Ben Forta, All Rights Reserved