Forums Register Login

Clarification on servlet based web service end point.

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
Thank you Ivan.
+Pie Number of slices to send: Send
Servlet endpoint Vs EJB endpoint - an excellent related thread from the time Peer shed light on many issues.

Regards,
Dan
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2394 times.
Similar Threads
How Endpoint and Clients communicate with Handlers ?
Stateful Web Service
doubts regarding jax-ws and web service broker pattern
JAX-WS Servlets and Stateless Beans
JEE 1.5 Servlet Endpoint Webservice?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:07:18.