This content has been marked as final.
Show 2 replies
-
1. Re: EJB 3 : stateful problem
zzeuxis Nov 29, 2006 1:27 PM (in response to zzeuxis)I forgot to mention I use (of course) Jboss 4.0.5 GA with the ejb3 profile selected from the installer
-
2. Re: EJB 3 : stateful problem
zzeuxis Nov 30, 2006 4:34 AM (in response to zzeuxis)My best guess is that it's the way I call my bean from my jsf backing bean that's wrong : here is what I do :
// constructor public MyJSFBackingBean() { this.bindJndiRessources(); } private void bindJndiRessources() { Context context; try { context = new InitialContext(); String beanName = StatefullBean.class.getSimpleName() + "/local"; System.out.println("binding bean " + beanName); this.myBean = (StatefullInterface) context.lookup(beanName); } catch (NamingException e) { e.printStackTrace(); } }