I'll give you a personal lesson at JSF Summit. I thought you'd never ask ;)<br><br>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).<br>
<br>-Dan<br><br><div class="gmail_quote">On Sun, Nov 29, 2009 at 5:28 PM, Steven Boscarine <span dir="ltr"><<a href="mailto:steven.boscarine@childrens.harvard.edu">steven.boscarine@childrens.harvard.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello All,<br>
<br>
How do I get a JPA connection in JEE6? I have never actually used JPA<br>
without Spring and wanted to learn the recommended way. Is there a<br>
tutorial or example, perhaps from JEE5 or Seam, I should follow? Since<br>
I learned from a thread yesterday that @PersistenceContext is no longer<br>
recommended, I thought I'd ask the group.<br>
<br>
I am working on a sample application to test the JEE archetypes, so I<br>
wanted it to use best practices. The code has a good chance of<br>
appearing in documentation or the actual archetypes. I am using JBoss<br>
6.0.0.M1 as my container.<br>
<br>
Thanks,<br>
Steven<br>
<br>
<br>
_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>