[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2560) Update the use of EntityManager in documentation

Christian Bauer (JIRA) jira-events at lists.jboss.org
Thu Jan 31 03:31:59 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2560?page=all ]

Christian Bauer closed JBSEAM-2560.
-----------------------------------

    Resolution: Rejected

There is not one single correct or best way, both strategies (EJB-container managed persistence context and Seam-managed persistence context) are well documented. We do not recommend one or the other but hope that people will actually read about the differences and make an informed decision - even if they are beginners.



> Update the use of EntityManager in documentation
> ------------------------------------------------
>
>                 Key: JBSEAM-2560
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2560
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Documentation
>         Environment: the documentation at e.g. http://docs.jboss.com/seam/2.0.1.GA/reference/en/html_single/index.html
>            Reporter: Mark Schmatz
>
> Especially for beginners it's hard to understand which way of using the EntityManager is the best or at least the way you recommend. If I remember right you recommend using the following 'Seamish' style:
> @In
> private EntityManager entityManager
> but in the documentation you can find both, the above and the classic EJB style:
> @PersistenceContext
> private EntityManager em;
> For consistency reasons I would prefer having just the Seam way and propose updating the documentation accordingly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list