If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Friday, September 24, 2010

Hibernate and Spring - Part 2

I think it's always good practice to extend some generic superclass for your Domain Objects. Even if they don't inherit anything at first, you might decide otherwise later on and it becomes very easy to add common methods and variables. For my use case I decided that every Domain Object had to be uniquely identifiable.

No comments:

Post a Comment