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();
  |             }
  |     }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989962
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to