• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

ejb injection in weblogic 11g fails

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
My problem is more vendor dependent . I am trying to inject EJB (weblogic 11g ) onto JSF 2.0 managedbean using annotation. However, the deployment fails complaining ejb link not working . It works fine when tried with Glassfish v3 though. Somewhere in a blog , I read that including wls.jsf.di.jar will solve the problem of ejb injection in weblogic but it hasn't helped me so far.
Any direction would be appreciated.

Thanks
 
Saloon Keeper
Posts: 28123
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This was probably a question better asked in the WebLogic forum. Most purely JSF people won't have a clue.

JSF works in conjunction with EL. The default EL variable resolver, however, only knows how to resolve a limited set of objects. Primarily the JSF managed beans. So to add objects from outside the JSF universe to the set of objects that can be resolved, you have to chain in a resolver suitable for that external set of objects. For example, I'm using Spring for my persistence layer, so I added an Spring EL Resolver definition to faces-config.xml:
 
It was the best of times. It was the worst of times. It was a tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic