Tips in Seam

    这段时间一直在带一个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>...

你可能感兴趣的:(eclipse,xml,jboss,seam)