to be added; requires the implementation of several additional interfaces

interfacing with web services

costly, unless knowledge of the object is assumed on the client

schema information is more precise and can be handled by the client

yes

xml integration

yes

yes

to be added

expression language

yes

yes

to be added

data aggregation

yes

yes

to be added

如果采用custom entities，建议了解如下常用的enterprise design patterns:

design patterns for building a dal

pattern

description

active record

the entity object stores its own data as well as any available methods. clients get an instance of the object and work with it as needed.

data mapper

the entity object contains only its own data. a neat separation exists between data and behavior. behavior is delegated to an array of separate classes specific to the object.

table data gateway

variation of data mapper that delegates the implementation of required behaviors to external, gateway classes not specific to the object. the gateway can take scalar and instance data and serve multiple business objects.