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

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.

主站蜘蛛池模板: 德令哈市| 四川省| 屏东县| 沾益县| 故城县| 修武县| 电白县| 通江县| 洛扎县| 安塞县| 萨嘎县| 万盛区| 闽侯县| 竹溪县| 招远市| 罗山县| 永定县| 壶关县| 商洛市| 宣化县| 山西省| 泾源县| 荣成市| 区。| 临湘市| 深州市| 南宁市| 岐山县| 新乐市| 美姑县| 交城县| 隆回县| 富蕴县| 武穴市| 永新县| 五寨县| 东兰县| 威远县| 崇文区| 蓝山县| 深水埗区|