这段时间一直在带一个Seam的项目,这几天休息,所以看了下<seam in action>,记下了今天阅读中的要点,希望有时间能够整理一下:
1.hot deploy
Direcotry like project is much better archive like project. So make eclipse project as auto build, and set 'retart' as the default target in build.xml
2.Debug
Start jboss as debug pattern, set break point in java file.
3.<framework:entity-query。。。 The component of generatign menu should be set into Application's scope to reducing the queries when refresh pages.
4.The association of Entity Bean should be set into lazy; the implatation of eager should be on the query level with 'join fetch'...
5.replace JSF tag with Seam tags, for instance <s:decorator>, <s:button>...
1.hot deploy
Direcotry like project is much better archive like project. So make eclipse project as auto build, and set 'retart' as the default target in build.xml
2.Debug
Start jboss as debug pattern, set break point in java file.
3.<framework:entity-query。。。 The component of generatign menu should be set into Application's scope to reducing the queries when refresh pages.
4.The association of Entity Bean should be set into lazy; the implatation of eager should be on the query level with 'join fetch'...
5.replace JSF tag with Seam tags, for instance <s:decorator>, <s:button>...
本文分享了Seam项目实践过程中的心得与技巧,包括hotdeploy目录式项目的优点、使用Eclipse进行自动构建、JBoss调试模式设置、框架组件优化、懒加载配置及Seam标签替换JSF标签等。
137

被折叠的 条评论
为什么被折叠?



