• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Web Services Question

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Couple of questions on webservices

1. When we use javax.xml.ws.Endpoint API to publish a web service endpoint should my code be running in an Application Client Container?

2. "Both POJOs and EJBs that conform to the service implementation bean requirements can be deployed as Web services. This is a big improvement over J2EE 1.4, which has two different bean specifications´┐Żone for EJB deployment (which requires a Web service to be implemented with the stateless session bean interfaces) and one for Web container (servlet) deployment" - SOA using Java WS.

Does that mean that my POJO's can be deployed either as a Servlet or EJB endpoints based on the annotation?

Thank you.
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic