wood burning stoves 2.0*
The moose likes Web Services and the fly likes JEE 1.5 Servlet Endpoint Webservice? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JEE 1.5 Servlet Endpoint Webservice?" Watch "JEE 1.5 Servlet Endpoint Webservice?" New topic
Author

JEE 1.5 Servlet Endpoint Webservice?

Tejas Jain
Ranch Hand

Joined: Mar 04, 2008
Posts: 119
In J2EE 1.4 we have an option to create a web service with Servlet endpoint.

Do we still have it in JEE 1.5? I can create a web service from POJO and Stateless Session EJB3 using annotations easily. What about Servlet?


"Knowing is not enough, you must apply... Willing is not enough, you must do."
--Bruce Lee
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
No, the web service development model has not changed between the versions you mention.
If you develop an annotated POJO using JAX-WS, then it will be "wrapped" in a servlet - thus this is called a servlet endpoint.
I strongly suspect an EJB annotated with JAX-WS annotation(s) will, in a similar way, also be wrapped in a servlet. However, since it is an EJB that contains the service endpoint implementation, this is called an EJB endpoint.
You do not need to implement the servlet in either of the above cases - it is provided by the JAX-WS web service implementation.
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JEE 1.5 Servlet Endpoint Webservice?
 
Similar Threads
Clarification on servlet based web service end point.
What is com.sun.xml.ws.transport.http.servlet.WSServlet and any documentation on this.
Regarding creation of servlet endpoint for web service
Stateful Web Service
doubts regarding jax-ws and web service broker pattern