... 前端控制器模式(Front Controller Pattern) 拦截过滤器模式(Intercepting Filter Pattern) 服务定位器模式(Service Locator Pattern) ...
基于1个网页-相关网页
拦截过滤器模式用一个过滤器封装了已有应用资源,这个过滤器拦截了请求的接收及响应的传递。
The Intercepting filter pattern wraps existing application resources with a filter that intercepts the reception of a request and the transmission of a response.
当open Session in View模式作为过滤器或拦截器实现时,持久化上下文对象在视图呈现期间会保持打开状态。
When open Session in view is implemented as a filter or interceptor, the persistence-context object remains open during view rendering.
应用推荐