persistence@glassfish.java.net

Re: NullPointerException in persist() method

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Tue, 6 Nov 2007 22:11:52 +0100

On Tue, Nov 06, 2007 at 01:06:53PM -0800, Marina Vatkina wrote:
> Hmmm.... Java EE 5 spec supports injection into JSF scoped managed beans
> (see Table EE.5-1Component classes supporting injection).

Thanks for the correction. I have done this several times with session beans
through the @EJB annotation. Somehow I was under the impression that this
wouldn't work with the @Persistenceontext annotation.


Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"