• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Clarification on servlet based web service end point.

 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • 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: 558
2
Hibernate Spring Java
  • 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
 
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic