My Photo

Become a Fan

DailyMile

Google Ad Skyscraper

« Will 64 bit require in memory databases? | Main | Tangosol, Oracle and Gevas blog »

March 03, 2007

Comments

Rob W

Completely agreed Billy.. I think the idea with annotations over interfaces is that it gives you the ability to do fun thing in your annotation implementation class that might be more messy with a straight interface. But you're right.. in the case where you're just trying to flag methods to be called at certain times, the differences are minimal. Except for maybe the customer who's trying to turn a legacy POJO into a persistent class and would love to be able to add an annotation to the legacy method without renaming or 'redirecting' with the implementation method name from the interface.. but that's a small price to pay.

Considering it's not much more from a maintenance and even implementation perspective any ideas on supplying both? The documentation factor seems to be the best argument to NOT do it, but that's why IBM invented info-centers.. javadocs be damned.

The comments to this entry are closed.