Hello,
me again with another question...

I now successfully injected a stateless session bean into my plain
java class. In that stateless session bean im using an entitymanager
like this:

    @PersistenceContext(unitName="MyPU")
    EntityManager entityManager;

The problem is, it is always null. I cant use the entitymanager.

Could the problem be the injection of the stateless bean with guice or
should it generally be possible to do that?
I cant find the problem in my configuration of the PersistenceUnit,
cause while deploying it says:

INFO: file:/home/opn/NetBeansProjects/OpnWelcome/build/web/WEB-INF/
classes/_OpnWelcomePU login successful
And it successfully created database tables etc.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to