generic Client class 通用的客户端类
For instance, various airline systems might host their air fares services in a registry, and a generic client could discover all such services and find the cheapest air fares provided by the airlines.
例如,各个航空公司可以把它们的机票价格服务放在注册中心,普通客户可以发现所有这类服务,并查找航空公司所提供的最低票价。
The Data Access Object (or DAO) pattern separates a data resource's client interface from its data access mechanisms, adapts a specific data resource's access API to a generic client interface.
本文详细介绍了数据访问对象设计模式:将数据源的客户访问接口和数据访问机制分离开,使特定的数据源访问API转化成普通的客户端接口。
应用推荐