db4o-to-db4o replication is the simplest replication and is supported by both java and .NET versions.
In the following examples we will use Pilot class from the db4o documentation.
01/* Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com */ 02
03
package com.db4odoc.replication; 04
05
public class Pilot { 06
private String name; 07
08
public Pilot(String name) { 09
this.name=name; 10
} 11
12
public String getName() { 13
return name; 14
} 15
16
public String toString() { 17
return name; 18
} 19
}