* @ejb.interface-method
*/
public Object testSerialization()
{
try {
Person p = new Person();
/*
if (!(p instanceof Externalizable)) {
throw new RuntimeException("p not Externalizable");
}
*/
p.setName("Harald Gliebe");
Address address = new Address();
address.setCity("Mannheim");
p.setAddress(address);
cache.attach("/person/harald", p);
return (Person) cache.find("/person/harald");
} catch (Throwable t) {
throw new RuntimeException(t);
}