October 2011
Beginner
432 pages
10h 18m
English
The first step in the creation of a JAX-WS web service is to create a Service Endpoint Interface, a Java interface that defines the methods that clients can call when they’re using the web service.
The SquareRootServer web service you are developing this hour is a service that can handle two simple tasks:
• Calculating the square root of a number
• Displaying the current date and time
An interface is a set of methods that provides names, arguments, and return types but does not contain code that implements the methods. The interface serves as a contract between objects—if an object implements an interface, other objects know they can call all the interface’s methods on that object.
In Hour 15, “Responding ...
Read now
Unlock full access