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
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: 524
    
    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: 524
    
    2

Thank you Ivan.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Clarification on servlet based web service end point.