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

前端 未结 2 1185
感动是毒
感动是毒 2020-12-21 06:04

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

相关标签:
2条回答
  • 2020-12-21 06:43

    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.
    0 讨论(0)
  • 2020-12-21 06:46

    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 讨论(0)
提交回复
热议问题