October 2011
Beginner
432 pages
10h 18m
English
JAX-WS web services can be deployed by Java application servers such as BEA WebLogic, GlassFish, JBoss, and Jetty. If you had created the SquareRootServer web service in a development environment that supported those servers, you’d be ready at this point to launch it.
You also can write your own Java application that loads a web service and makes it available over the Internet.
The SquareRootServerPublisher application handles this task, which requires only two steps:
• Load the class that implements the web service
• Publish that object at an address accessible to the Internet
The EndPoint class in the javax.xml.ws package has a class method, publish(String, Object), that deploys a web service.
This method’s first ...
Read now
Unlock full access