• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in dependency Injection with JBoss4.2.1

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have an application that uses an EJB named -JBejbBean(SLSB)
which implements a remote interface JBejb.
I have used JDeveloper 10.1.3 IDE for developing it.

JBejbBean contains a method
public String show()
{
return "hello";
}
Now at the viewController side
I have a JSF page whose backing bean ---view.backing.Start--- that looks up the above EJB using dependency injection as follows

@EJB(mappedName="current-ejb-ear/JBejb/remote")

private JBejb obj;

this returns an exception that says .....
Injection on Backing bean failed .
javax.naming.NameNotFoundException:view.backing.Start not bound.
Regards,

Dushyant
India.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic