I am using Glassfish v3 Preview and updated to the latest modules. I was successful in getting a JSF app to work with a simple web bean in session scope (after adding a blank WEB-INF/beans.xml and making the class serializable), but I am not making any headway changing it to a stateless or stateful session bean. The logs show this message:
INFO: Web Beans 1.0.0.PREVIEW1
INFO: Transactional services not available. Transactional observers will be invoked synchronously.
INFO: EJB services not available. Session beans will be simple beans, injection into non-contextual EJBs, injection of @EJB in simple beans, injection of Java EE resources and JMS resources will not be available.
INFO: JPA services not available. Injection of @PersistenceContext will not occur. Entity beans will be discovered as simple beans.
INFO: @Resource injection not available.
I suppose that means just what it says: the good stuff isn't working yet. When I looked into the JAR file, I noticed that its contents was a couple of months old. Is it worth trying to use the newer build from the JBoss site, or will that simply not work with the glassfish/modules/webbeans-integration.jar?
Thanks,
Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]
http://forums.java.net/jive/thread.jspa?messageID=354189