Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Clarification on servlet based web service end point.  RSS feed

 
Ranch Hand
Posts: 552
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Kumar Raja
Ranch Hand
Posts: 552
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet endpoint Vs EJB endpoint - an excellent related thread from the time Peer shed light on many issues.

Regards,
Dan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!