[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2506) Remove standalone EM/EMF test example from documentation
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Jan 18 04:52:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2506?page=all ]
Pete Muir updated JBSEAM-2506:
------------------------------
Fix Version/s: 2.0.1.GA
+10, I've always wtf this is doing here.
> Remove standalone EM/EMF test example from documentation
> --------------------------------------------------------
>
> Key: JBSEAM-2506
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2506
> Project: JBoss Seam
> Issue Type: Task
> Components: Documentation
> Affects Versions: 2.0.1.CR1
> Reporter: Christian Bauer
> Priority: Blocker
> Fix For: 2.0.1.GA
>
>
> http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/testing.html
> This first example is extremely confusing for new users, they won't be able to setup EMF/EM for a standalone test. Naturally they will not read on but simply copy/paste the example and try it. Then they run into problems because they don't understand what "This requires configuration in persistence.xml" means.
> I recommend rewriting the whole example and NOT USING the EntityManager in it. Just instantiate a Seam component and call a method on it. Then say: "If you need system services, better do an integration test with Seam Test, no extra configuration necessary."
--
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