随笔分类 -  1 J2EE patterns

摘要:Problem You want to provide access to one or more services using XML and web protocols J2EE applications expose coarse-grained business services using Service Facade (360). However, these services might be too fine grained to expose as a web service or may not be designed to be exposed outside... 阅读全文
posted @ 2012-02-26 20:37 万法自然~ 阅读(171) 评论(0) 推荐(0)
摘要:Problem You want to invoke services asynchronously.Forces You want to invoke business services, POJOs, or EJB components in an asynchronous manner. You want to integrate publish/subscribe and point to point messaging to enable asynchronous processing services. You want to perform a business task... 阅读全文
posted @ 2012-02-25 14:19 万法自然~ 阅读(198) 评论(0) 推荐(0)
摘要:问: 为什么需要模式?答: 每一个模式描述了一个在我们周围不断重复发生的问题,以及该问题的解决方案的核心。 有了模式,你就能一次又一次的使用该解决方案而不必做重复(探索的)劳动。-----------------------------------------------------------------------------------------------------------------J2EE平台是分层系统,我们按职责将J2EE的层次模型化,共分了五个层次: 客户层、表示层、业务层、集成层和资源层。因为客户层和资源层并不是J2EE平台直接关注的问题,所以后面介绍的21个... 阅读全文
posted @ 2012-02-13 21:47 万法自然~ 阅读(427) 评论(0) 推荐(0)