Posts Tagged db4o

db4o: Tools For Adhoc Querying And Modification

Remember my very first post about db4o? There I’ve made the statement that the tool-support is very bad. Well I don’t revise my opinion here. The situation is still bad compared to the relational database world. Mostly that’s because relational databases have a giant user base, are well known and have some common interfaces (JDBC, [...]

Read complete post

,

No Comments

db4o: Transparent-Persistence

It has been a while since I’ve wrote my last post about db4o. You may remember the post about the activation-mechanism. Don’t you think that this is quite painful? Activating objects with the right activation depth and so forth? Wouldn’t it be nice if db4o actually activates the objects as soon as you need then? [...]

Read complete post

,

No Comments

db4o: Client-Server and Concurrency

So far we’ve always used a single object container. This it the simplest way to used db4o. Just open an embedded database an use it. In this post I’ll give a short introduction to the client-server-features of db4o. Handling concurrency is more challenging in a server-client scenario, therefore I also loose a few words about [...]

Read complete post

,

9 Comments

db4o: Queries in Java or Queries Without LINQ

Before I continue with client-server concurrency I explain how to run queries against a db4o database without LINQ. Most of the stuff in db4o works on every platform. The API is nearly the same in Java and .NET, except the different naming-convections. The lucky .NET developers have one big advantage over Java, they have LINQ [...]

Read complete post

,

1 Comment

db4o: Single Object-Container Concurrency

Today nearly every application has some concurrent parts. In a classic desktop-application some work is done in the background to keep the application responsive. In a web-application more than one request are handled concurrently. There’s no escape from the challenges of concurrent programs.  (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, [...]

Read complete post

,

No Comments

db4o: Persistent Classes Tips

In the last four posts I’ve mostly talked about db4o itself and how to used it.  All this is actually just the necessary evil for our goal, to persist our data. So here are some very basic tips how to model your persistent classes for db4o (well it applies also to other technologies). (All posts [...]

Read complete post

, ,

No Comments

db4o: Transactions

So I showed the basics, explained the activation-system and pointed out how db4o manages object-identities. So far so good, but I’ve never explain a very important feature of most databases, the transactions. Time to catch up. (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, [...]

Read complete post

,

No Comments

db4o: Object-Identity and High-Level-Caching

In the last two posts (#1, #2) we never ever used anything like an id for any object. So how the hell does db4o identify objects? How does it ensure that existing object are updated? (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, [...]

Read complete post

,

1 Comment

db4o: Activation- & Update-Depth

Activation is a very basic concept in db4o. In this post I’ll illustrate what it is, why it’s there and how you handle it. (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, client-server concurrency, transparent persistence, adhoc query tools) The Mysterious Null-Pointer Let’s [...]

Read complete post

,

3 Comments

db4o, The Basics

With this post I start a little series about db4o, an object database. Why? Because I think object databases are a quite unknown technology. Normally when developers talk about databases they mean a relational database. Yes, relational databases are awesome and well known. But there are lots of alternatives out there! Sadly, lots of developer [...]

Read complete post

,

13 Comments