[jboss-user] [JBoss Seam] - Re: Using the @Factory annotation and stateless session bean

gavin.king@jboss.com do-not-reply at jboss.com
Mon Sep 25 00:32:42 EDT 2006


anonymous wrote : Thanks for the reply. Actually, something in the init and testSLSBMethod methods would reference testVar.

No, what references the testVar *context variable*, not the testVar instance variable? Do you understand what @Factory is for?

anonymous wrote : In terms of @Create, is that not possible from a stateless session bean?anonymous wrote : 
  |   | 
  |   | Correct, I forgot about that.
  |   | 
  |   | 
  |   | It would help if you described what you are actually trying to *achieve*, with a more meaningful example than TestStatefulBean, TestStatelessBean, testVar, etc. This doesn't help me understand the usecase.

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

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



More information about the jboss-user mailing list