• 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

A webservice being implemented from a servlet or stateless session bean.

 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I might have overlooked, but at a very good quick glance, I could not find any reference to implementing a servlet or stateless session bean as a webservice in SCDJWS 5.0 certification. Are these not a part of the certification? or these are no longer valid in JAX-WS. I'm having this question as in chapter "Developing Web Services" in Ivan's notes, I see that configuration done through web.xml and ejb-jar.xml are mentioned as "Not required". So this made me thinking, if these are removed in JAX-WS as I know these were there in JAX-RPC. Any advice on this.

 
Kumar Raja
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any advice on my question.

I started working with a small webservice application developed on GlassFish v3.0 and JDK 1.6 and tested the SOAP interaction through webservices explorer in eclipse. Then I was interested to see if there was any servlet implicitly handling the request and delegating to the service but when I looked into web.xml of my deployment, I did not find any servlet added by Glassfish. Neither I could see anything in sun-web.xml.

How and who is able to control this request/response event if there is no servlet. Where could I find this Ghost servlet, if at all existing ?
 
Kumar Raja
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Accidentally I found this servlet "org.glassfish.webservices.JAXWSServlet" when an exception was thrown from my service and thought may be this is the Ghost servlet I was thinking about and hence wanted to get confirmed. I did not get lot of information about this servlet when I googled and neither I could find this being declared in any web.xml in my entire Glassfish installation. So what is this servlet all about. Why is this not declared and how is this getting into action. Any advice on this.
 
reply
    Bookmark Topic Watch Topic
  • New Topic