回到第30章,我们讨论了一些关于使用会话 EJB 最佳实践和应用会话虚包(Session Facade)模式的技巧。我们讨论的事情之一是,会话虚包(Session Facade)的一个好的粒度级别是在服务层--这就是说您标识提供给一组通用客...
基于32个网页-相关网页
会话虚包模式用对会话bean的单个调用来代替对实体bean的多个调用。
The session Facade pattern substitutes a single call to a session bean for multiple calls to an entity bean.
通过使用诸如镜像映象和会话虚包之类的模式,我们就可以跟踪类的创建过程,以反映出外部实体的标识或它所提供的服务。
Using patterns such as Mirror Image and Session Facade, we can trace the creation of classes to reflect the identity of, or services provided by, an external entity.
应用推荐