您的位置:首页 > 其它

DAL 简介

2014-06-17 13:40 176 查看
The Data Access Layer (DAL) is an object-oriented service foraccessing and updating data in distributed databases and other persistent dataresources.

Applications, SOA, etc....     ------------->         DAL    ---------------->          DB, etc

All create, read, update, and delete (CRUD) operations on persistentdata resources are performed through DAL's abstraction of the data. 
The Data Access Layer:

· Decouplesthe persistence layer from the application layer
· Performs object/relationalmapping (ORM) — mapping data between the persistence layer's native form(e.g. a relational database schema) and Java objects
· Encapsulatesmechanisms for locating distributed data
· Encapsulatesfailover mechanisms
· Encapsulatescaching mechanisms

DAL provides a consistent, transparent, objectoriented API for accessing and updating data in distributed persistent dataresources.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: