I spent some time researching what Endpoint.publish may and may not do, and it seems that you are entering very undocumented territory very quickly.
If you create a simple standalone application that exposes one or more annotated @WebService classes using Endpoint.publish, and then you are faced with a situation where you can no longer use Endpoint.publish (for some reason), which is then the easiest way migration?
I know that you can create a WAR using sun-jaxws.xml and possibly Metro banks, which can then be deployed to an embedded web server (like Jetty or Winstone), but I like the simple "take this class and expose its on the IT url "API Endpoint.publish () without any XML or full containers.
Is there a good way to do this?
Thorbjørn Ravn Andersen
source share