0

I want to selfhost webservice using Apache CXF like in WCF. So, I want to know whether we can host webservices without any application server? If yes, can I have a HelloWorld! sample of that too. Thanks

yonjans
  • 151
  • 3
  • 10

1 Answers1

0

Yes, if you use the JAX-WS stack available in the JRE.

The Endpoint class can publish an object with JAX-WS annotations as a web service.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347