官术网_书友最值得收藏!

Infrastructure layer

This layer provides support to all the other layers and is responsible for communication among the other layers. It contains the supporting libraries that are used by the other layers. It also implements the persistence of business objects.

To understand the interaction of the different layers, let us use an example of table booking at a restaurant. The end user places a request for a table booking using UI. The UI passes the request to the application layer. The application layer fetches the domain objects, such as the restaurant, the table, a date, and so on, from the domain layer. The domain layer fetches these existing persisted objects from the infrastructure, and invokes relevant methods to make the booking and persist them back to the infrastructure layer. Once domain objects are persisted, the application layer shows the booking confirmation to the end user.

主站蜘蛛池模板: 台安县| 郧西县| 焦作市| 普定县| 土默特左旗| 同仁县| 隆化县| 木兰县| 温州市| 东明县| 乌海市| 宜宾市| 汝州市| 苏尼特右旗| 微山县| 沧州市| 砀山县| 前郭尔| 凤阳县| 邻水| 白山市| 洛扎县| 大化| 双桥区| 迁西县| 蒙城县| 饶河县| 新化县| 察雅县| 裕民县| 平顺县| 福州市| 镇赉县| 广灵县| 东乌珠穆沁旗| 东源县| 策勒县| 依安县| 孝昌县| 马尔康县| 涟源市|