转自 http://www.theserverside.com/tt/articles/article.tss?l=SpringLoadedObserverPattern This article describes an easy process of implementing the observer pattern in the Spring framework (Spring Core). Also discussed in this article are a few of the Spring Core classes as well as an easy way to sta ...
2006-11-17

不应该用struts的思维去想jsf

关键字: struts jsf webwork
无论是struts ,还是 webwork, 对于组件的复用主要集中在业务逻辑层..通过action调用不同的manager去实现服用. 但如果把backingbean看成action,那我觉得绝对是对jsf的一种滥用了 而jsf对于组件的复用,却应该复用在web层.....不同的页面可以调用相同的backingbean组件,也就是把manager直接提取为backingbean. 这样页面的灵活性相当的高...当然在struts, webwork里面通过的方式也有间接的解决服用性的办法 seam更是将实体bean和会话bean和jsf的backingbean结合到了一起 随着jsf ...
  • 12:44
  • 浏览 (741)
  • 评论 (0)
dingyuan
搜索本博客
博客分类
存档
最新评论
评论排行榜