At first glance, the two look almost identical. You write an interface, you add a few method signatures, and the framework supplies the implementation. However, the similarity hides real differences in who owns the standard, when code is generated, and how much state a repository carries. This article compares the two, starting with the versions …