aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Clarification on servlet based web service end point. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Clarification on servlet based web service end point." Watch "Clarification on servlet based web service end point." New topic
Author

Clarification on servlet based web service end point.

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 516
    
    2

Hello All,

I read that , JAX-WS can be implemented as an EJB endpoint or servlet endpoint. I have seen examples where a POJO and EJB exposed as SEI, but not really a Servlet being exposed as JAX-WS endpoint. Also from the post, it seems it is not possible and is of poor design. Does the servlet based end point means POJO based endpoint running in a web tier and wrapped by container specific servlets or does the real servlet is exposed as a web service endpoint, with one of its doXXX methods as @WebMethod. If yes, can some body point me an example.


Regards
KumarRaja

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
The name "servlet-based endpoint" may be slightly misleading, since it it what you call a POJO endpoint implementation class.
The wrapping of the POJO and EJB based endpoints is done automatically by the JAX-WS web service stack.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 516
    
    2

Thank you Ivan.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Servlet endpoint Vs EJB endpoint - an excellent related thread from the time Peer shed light on many issues.

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clarification on servlet based web service end point.
 
Similar Threads
How Endpoint and Clients communicate with Handlers ?
doubts regarding jax-ws and web service broker pattern
Stateful Web Service
JEE 1.5 Servlet Endpoint Webservice?
JAX-WS Servlets and Stateless Beans