This is achieved by introducing a service layer into an enterprise architecture.
这是通过在企业体系结构中引入服务层来实现的。
The architecture includes several layers, including a service layer, whose main purpose is to make the architecture imitate a real world application.
该体系结构包括多个层,其中包括服务层,其主要用途是使该体系结构模仿实际的应用程序。
If a service layer method deals with only read-only data, you can mark its transaction as read-only, which is a hint to optimize Hibernate and the underlying JDBC driver.
如果一个服务层方法只处理只读数据,可以将它的事务标为只读,这是优化Hibernate和底层JDBC驱动的一个方法。
Rather, I'm suggesting that the benefits that layered architectures provide come at a cost, and you should assess the cost before adding an architectural element such as a service layer.
相反,我认为分层架构提供的优势是有代价的,您应该在添加架构元素(比如,一个服务层)之前评估成本。
Rather, I'm suggesting that the benefits that layered architectures provide come at a cost, and you should assess the cost before adding an architectural element such as a service layer.
相反,我认为分层架构提供的优势是有代价的,您应该在添加架构元素(比如,一个服务层)之前评估成本。
应用推荐