aspose file tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes A webservice being implemented from a servlet or stateless session bean. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "A webservice being implemented from a servlet or stateless session bean." Watch "A webservice being implemented from a servlet or stateless session bean." New topic
Author

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

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 457

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.



Regards
KumarRaja

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 457

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

Joined: Mar 18, 2010
Posts: 457

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: A webservice being implemented from a servlet or stateless session bean.
 
Similar Threads
diff between JAX-RPC and JAX-WS?
Java Web Service
Content of Integration layer in Component diagram
Web Service Objective Clarification
Wrapper class on the top of stateless session bean