I'll give you a personal lesson at JSF Summit. I thought you'd never ask ;)
And by the way, one of the main issues I have with Spring is that developers
never get a chance to see the native way of doing things. Making Java EE
twice as hard to learn because they have to unlearn Spring first. It's sort
of like kids these days don't learn to change the oil in their car (not that
using Java EE is that messy, but you get my drift).
-Dan
On Sun, Nov 29, 2009 at 5:28 PM, Steven Boscarine <
steven.boscarine(a)childrens.harvard.edu> wrote:
Hello All,
How do I get a JPA connection in JEE6? I have never actually used JPA
without Spring and wanted to learn the recommended way. Is there a
tutorial or example, perhaps from JEE5 or Seam, I should follow? Since
I learned from a thread yesterday that @PersistenceContext is no longer
recommended, I thought I'd ask the group.
I am working on a sample application to test the JEE archetypes, so I
wanted it to use best practices. The code has a good chance of
appearing in documentation or the actual archetypes. I am using JBoss
6.0.0.M1 as my container.
Thanks,
Steven
_______________________________________________
weld-dev mailing list
weld-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen