SDOUtil.createProperty(customerType, "firstName", stringType);
// create a last name property
SDOUtil.createProperty(customerType, "lastName", stringType);
DataObject customer1 = factory.create("http://example.com/customer",
"Customer");
customer1.setInt("custNum", 1);
customer1.set("firstName", "John");
customer1.set("lastName", "Adams");
DataObject customer2 = factory.create("http://example.com/customer",