Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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

EJB Object Null Pointer Exception Inside JAX-WS Web Service

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to all, I'm tried to develop a web service application that utilize EJB function inside web service class but the EJB object is null during run time.

I'm configure the web service using Spring Application Context. Is there any problem with it?

Code:


Web.xml


Beans.xml


What is the reason the ejb ojbect is null? Is it relate to Spring DI of CreditCardService class but does not instantiate the ejb object?

What is the purpose of CXF servlet? Is it use to handle web service request?

Please help.

Thanks.










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