Java Reference
In-Depth Information
Presentation Tier
POJO Façade
Spring TransactionInterceptor
<<interface>>
PlaceOrderFacade
updateDeliveryInfo()
updateRestaurant()
...
PlaceOrderFacadeImpl
updateDeliveryInfo()
updateRestaurant()
...
Domain Model
<<interface>>
PlaceOrderService
updateDeliveryInfo()
updateRestaurant()
...
PendingOrder
Restaurant
Repository
Restaurant
Figure 7.1
The structure of a typical POJO façade
The POJO façade consists of the following types:
PlaceOrderFacade is the interface that specifies the methods that can be
called by the presentation tier.
PlaceOrderFacadeImpl implements the PlaceOrderFacade interface by call-
ing the PlaceOrderService and other domain objects such as Restaurant-
Repository
Spring TransactionInterceptor is an AOP interceptor that manages trans-
actions and persistence framework connections.
 
 
Search WWH ::




Custom Search