newEntry.setTitle(new PlainTextConstruct("Sample entry title"));
newEntry.setContent(new PlainTextConstruct("Sample entry content"));
BaseEntry e = service.insert(feedUrl, newEntry);
System.out.println("Inserted an entry, ID is " + e.getId());
e.setContent(new PlainTextConstruct("New sample entry content"));
service.update(new URL(e.getEditLink().getHref()), e);
System.out.println("Updated the entry");
service.delete(new URL(e.getEditLink().getHref()));
System.out.println("Deleted the entry");
}