[jboss-user] [EJB 3.0] - Stateful Bean and Ressource Injection

jmmatrat do-not-reply at jboss.com
Sun Jul 8 15:30:33 EDT 2007


Hello,

I need a stateful bean that can access a JMS queue. So I use the @Ressource to map to the connection factory and the queue. Untill there everything is OK.
But during the passivation the connection factory can not be serialized.

Does this mean that I can not use injection into a stateful bean if this ressouce is not serializable

JMM

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061753#4061753

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061753



More information about the jboss-user mailing list