• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic