On Dec 8, 2007 9:14 AM, David Blevins <[EMAIL PROTECTED]> wrote:

> It shows a Stateful bean using an EntityManager with EXTENDED
> persistence type so the entities won't detach between calls to the
> Stateful bean as they would if when using TRANSACTION (i.e. jta
> scoped) persistence.

...or if using @Stateless. EXTENDED is applicable to @Stateful only.
One of the reasons @Stateful's so handy.

p.s. I had a EJB3 presentation on a Poznan University yesterday. It
took me over 3 hours to talk about it - lots of examples and topic
around EJB3 and JPA and I had only scratched the EJB3/JPA surface. I
had done it with Glassfish as it's nicely integrated with NetBeans IDE
6 that provides features for Java EE development beyond those I could
find in Eclipse (I'm not talking about RAD7.5 though that's around the
corner). Ok, gonna start another thread about it.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to