开发者

Should I start my Seam project from scratch or from a seam-gen generated project?

开发者 https://www.devze.com 2022-12-20 05:52 出处:网络
I have been using Seam-gen with a small sample database to help me learn the Seam framework.Now I am going to build a more complex application.Are there disadvantages or things that I sho开发者_Python

I have been using Seam-gen with a small sample database to help me learn the Seam framework. Now I am going to build a more complex application. Are there disadvantages or things that I sho开发者_Python百科uld watch out for if I decide to start from a seam-gen project?


Are there disadvantages or things that I should watch out for if I decide to start from a seam-gen project ?

No.

  • A Seam-gen generated project can be opened without any restriction in NetBeans (like another project)
  • If you use Eclipse, some settings are needed.
  • Seam-gen takes care includes all libraries
  • It creates by default, production and development profile. It helps you develop faster, without deployment.


I agree with @Arthur.

And I would like to add these:

  • Use seam-gen to get quickly started with ant script, deployment and libraries.
  • Do NOT use the Seam Entity/Query Framework (EntityQuery, EntityHome, EntityList classes)
    • There are many reasons for this, but mostly because it adds an extra layer of abstraction, and it is very difficult to scale and improve performance on these objects.
    • It complicates things unnecessary. Better to just develop your components and minimalize the component to only do what it is supposed to do, hence increase performance
0

精彩评论

暂无评论...
验证码 换一张
取 消