Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and Android)

(singke) #1
ptg7068951

326 HOUR 22:Creating Web Services with JAX-WS


Activities
To f u r t h e rservice your knowledge of this hour’s topic,do the following activi-
ties:

. Add a method to the square root web service that multiplies a number
by 10,and modify the SquareRootClientapplication to call that
method.
. Create a new web service that uses the WeatherStationclass from
Hour 21,“Reading and Writing XML Data,” and makes the current high
temperature,low temperature,and weather conditions accessible
through a web service.


To s e e J av a p r o g r a m s t h a t i m p l e m e n t t h e s e a c t i v i t i e s ,visit the book’s website
at http://www.java24hours.com.
Free download pdf