db4o open source object database
db4o :: .NET Product News Blog

Syndicate This

Wednesday, February 16, 2005

Running in a mixed Java/.NET/Mono environment

In principle the db4o database file format is fully compatible between Java, .NET and Mono, no matter on which operating system db4o is run.

There is only a small difference between Java and the two .NET environments:
.NET class names also contain their assembly names. Accordingly all stored classes need to be renamed when a database file is to be ported from one system to the next. This can be fully automated generically, the renaming process is very fast.

Here is a running sample with a solution how generic rename code could look like. It demonstrates writing to a database file with Java, reading with .NET and vice versa: http://www.db4o.com/downloads/db4oJavaDotnet.zip

Tuesday, February 15, 2005

db4o 4.3 released

db4o 4.3 has been released as a "production" version today. This release includes all the changes in the development releases 4.1 and 4.2. The most important new feature stepping up from 4.0:
- Database file sizes of up to 254GB are possible

New features in 4.3:

  • File IO is pluggable
    To create your own file IO implementation, you simply have to inherit from the abstract class com.db4o.io.IoAdapter and implement all the abstract methods. Here are some possible usecases why you may consider to write your own IoAdapter implementation:
    - achieve maximum performance with a native library for your platform
    - encrypt and decrypt slots with any fixed-length encryption mechanism of your choice
    - improve your security against hardware failures with a read-after-write check
    - mirror file IO to a redundant secondary or backup system
  • The API documentation is now supplied as a Windows help file:
    /db4o-4.3/doc/api/db4o.chm

Enjoy!

Welcome !

Welcome to our new db4o product blogs!

On these pages we will:
- keep you up-to-date with the latest developments in, around and on top of db4o
- help you with occasional "Did you know?" postings
- crosspost the best knowhow from our newsgroup
- inform you about cool products with db4o
- keep you up-to-date about development trends that we consider important
- ... and more

Please help us with your feedback.

We want to make db4o exactly the way you want it to be.

Thank you!

Best,
Carl
--
Carl Rosenberger
Chief Software Architect
db4objects Inc.

Powered by Blogger