This is my maiden voyage into the Seam world, so please pardon me if I ask something obvious. I am just getting started with a new project and would like to build a web application with Seam and I have an initial question:
Looking at my entity class diagrams and hierarchies, which entities should I or should I not register as Seam components? So far I've seen in the forums one clear one:
- Do not register abstract entity classes as Seam components
Are there any other rules? I have a lot of entity classes and just wondering what can be excluded.
I would not register any entities as Seam components, but instead manage them using a Seam component, as discussed here http://docs.jboss.com/seam/1.3.0.ALPHA/reference/en/html/framework.html#d0e5960 - the reference manual discusses the advantages of this approach. And yes, you don't need to manage all your entities, just those which you want to refer to in EL.