jump to navigation

Data mapper January 22, 2008

Posted by Coolguy in Java, Java Frameworks.
Tags:
add a comment

Data mapper moves the data between objects and database keeping them independent of each other.

With Data Mapper the in-memory objects needn’t know even that there’s a database present; they need no SQL interface code, and certainly no knowledge of the database schema

Advertisements

Active record January 22, 2008

Posted by Coolguy in Java, Java Frameworks.
Tags:
add a comment

An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.

MVC August 19, 2005

Posted by Coolguy in Software Design.
Tags:
add a comment
  • The essence of MVC is that you separate the business logic from the presentation and put something in between them so that the business logic can stand on its own as a reusable java class and doesn’t have t0 know anything about the view
  • MVC takes the business logic out of the servlet and puts it in a model – a reusable plain old java class.
  • The model is a combination of the business data and rules that operate on the data.