Displaying 1 result from an estimated 1 matches for "mysqldaoimpl".
2006 Apr 13
3
Java/J2EE DAO/model objects vs. Ruby/Rails model objects
In typical Java/J2EE applications, domain model object do not have much
logic, they are basically data holders. It seems to be considered a sin to
put persistence logic in the domain model objects, instead it should be put
a DAO (Data Access Object). I have always thought this seems funny, after
all, what seems more natural/object-oreiented?:
user.save()
or
userDao.save(user)
In Ruby/Rails,