Home > First Look: DB4Objects Database

Software Review

First Look: DB4Objects Database

11/26/2007

As a freelancer, I've had to work with databases quite often. In my earlier years, I worked with Microsoft Access, creating Visual Basic for Applications forms to interact with my data tables and queries. As my needs matured, I moved on and embraced MySQL and the various front ends for it due to the increased versatility offered by such solutions. (For instance, MySQL supports cross-platform Web applications powered by PHP or similar languages.)

With this background, I was interested in trying out DB4Objects (DB4O) from db4objects Inc., as yet another step in my database education.

For those who are used to the server-side MySQL way of doing things, it is important to know that the dichotomy of client side and server side does not exist in object-oriented databases. The front end contains the database. Unlike MySQL, the database is part of the program itself instead of merely being an external resource for the program to link to. Entries in an object-oriented database are directly presented as assets that are available for the rest of the program to use in any way the programmer intends. In this way, object-oriented database solutions are meant to be extensions to Visual Basic .NET, C#, Python, C++ and similar languages.

DB4O is available in Java and .NET, and Mono (an open source project similar to the .NET API). I opted to test the .NET version because it was a smaller download and offered a faster setup on the Windows platform. Several minutes later, DB4O was downloaded and set up. Since the installed package basically amounts to a runtime environment and tutorial, there is no user interface or any out-of-the-box way to interact with the database. Such things are left to the programmer to implement.

Knowing absolutely nothing about how to interact with the API, I appreciated the inclusion of a comprehensive tutorial with the software package. The tutorial itself is very nice. It offers a "getting started" section with essential topics, such as how to connect to the database, how to store and retrieve objects, and how to perform simple queries. Useful code snippets are provided, making it easy for developers to integrate DB4O into their projects. Code and documentation for more advanced functions is also readily available.

DB4O 7.0 has a few new features. A Transparent Activation feature makes the retrieval of data objects easier than ever before, since such actions now require only one line of code. There's also improved handling of complex object graphs. This version automatically detects the depth of object graphs, ensuring that only the minimum required data is loaded from disk, which improves overall performance.

DB4O is available for free under the GNU General Public License, provided that any project that uses DB4O is also released under the GPL. Usage of DB4O in closed source software requires a separate commercial license. The commercial license offers premium services and support not available to free GPL users.

db4objects plans to release a beta .NET version of DB4O 7.0 in December. Product release depends on developer input, but it is expected to occur in the first quarter of 2008, according to an announcement issued by the company.

Registered users can download DB4O here.


Will Kraft is a Web designer, technical consultant, and freelance writer. His website is Pagewizard Web Design. You can contact Will at will@pagewizardwebdesign.com.

Cite this Site

Will Kraft, "First Look: DB4Objects Database," Campus Technology, 11/26/2007, http://www.campustechnology.com/article.aspx?aid=56187

copy text (above) for proper citation



Recommended Reading
  • Microsoft Outlines Next-Generation Databases

    Microsoft is planning to enhance the BI capabilities in the next version of its flagship SQL Server database, the company revealed Monday. The company kicked off its second annual Business Intelligence Conference in Seattle by outlining plans for a new set of managed self-service analysis and reporting capabilities that will be integrated into the next version of SQL Server.

  • Red Hat Expands HPC Solution Availability

    Open source software vendor Red Hat went global with its high-performance computing (HPC) product Thursday. An announcement issued by the Raleigh, NC-based company claims that the Red Hat HPC Solution product is the "first" integrated Linux-based HPC platform.

  • IBM Aims To Boost Mainframe Competency with Scholarship Program

    As we reported recently, IBM is accelerating its efforts to bolster mainframe education in an effort to increase the number of professionals entering the workforce with mainframe skills. Now the company is putting additional money where its mouth is with a new scholarship program supported by itself and its partner ecosystem, along with higher education institutions.

  • Microsoft's 'Dublin' App Server Tied to .NET 4.0

    New Windows Server and .NET Framework 4.0 technologies aimed at developers who are building composite applications will be released at Microsoft's Professional Developers Conference, Oct. 26-30. The server technologies are the first to support Microsoft's upcoming "Oslo" modeling platform, according to Microsoft.

  • WoW: Microsoft, Cisco Continue to Cozy Up

    The ongoing relationship between Cisco Systems and Microsoft has become even closer, according to recent news that the Windows Server on WAAS (WoW)-- an appliance that merges Cisco's Wide Area Applications Services with Microsoft Windows Server 2008--is available to order.

  • Yahoo Fixing Zimbra Bug, Integrating with Exchange

    Web-search advertising giant Yahoo plans to resolve a password security vulnerability identified in late September in its Zimbra open source e-mail and collaboration software. On Wednesday, a Yahoo spokesperson stated by e-mail that the problem will be addressed in a few weeks' time.