We have relaunched: What's new at ZDNet Asia?

Web service development with Java

Summary

The hype surrounding Web service technologies continues to swell, with acronyms like XML, UDDI, WSDL, and SOAP becoming commonplace. Both Microsoft and Sun have recast their direction to embrace Web services with .NET and Sun ONE.

Events

Microsoft MSDN/Developer Event
25 Mar 2010

One Marina Boulevard, Microsoft Singapore

IT Architect Regional Conference Singapore 2010
20 - 21 Apr 2010

Singapore Management University, Singapore

The Internet Show 2010
21-22 Apr 2010

Suntec Singapore

The hype surrounding Web service technologies continues to swell, with acronyms like XML, UDDI, WSDL, and SOAP becoming commonplace. Both Microsoft and Sun have recast their direction to embrace Web services with .NET and Sun ONE. Consequently, it was only a matter of time before developers wanted to dig into these technologies. The latest offering from O’Reilly, Java Web Services, provides a roadmap for Java developers.

A little of everything
Web services offer a platform- and language-neutral approach, but developers must choose a language to actually develop a Web service. If Java is your choice, this book attempts to provide every relevant bit of information.

Individual chapters focus on the various Web service technologies (with a Java spin): SOAP, WSDL, and UDDI. According to the book, these technologies are the foundations of a Web service. Each chapter includes a good amount of Java code to drive home the message.

Where to begin?
The book begins with a brief overview of the concept of Web services and a discussion of factors affecting adoption of the technology. I found the adoption discussion very interesting; it presents other comparable technologies and explains how they were adopted. A discussion of the service-oriented model follows and provides more insight into the why, how, and what of Web services.

The acronyms
As I stated earlier, chapters are devoted to SOAP, WSDL, and UDDI. Actually, two chapters cover SOAP; the second chapter focuses on SOAP error handling and misconceptions. Again, this chapter provides valuable information relating to the development of SOAP and how to handle different SOAP versions. The UDDI and WSDL chapters provide introductions and lots of code to get your feet wet. Once these foundation technologies are thoroughly introduced, the core Java technologies are covered.

Java enterprise technologies
Microsoft got a jump-start with integrating Web services into the .NET framework. Sun answered with the Java Web Services Developer Pack. It is an all-in-one toolkit containing the necessary technologies for building Web services with Java, including messaging, processing, registry, and deployment tools. The book covers Java API for XML-based RPC (JAX-RPC) and Java API for XML Messaging (JAXM). I was both happy and surprised, because I haven’t seen other books covering them. Sadly, the book falls short by omitting the remaining aspects of the toolkit. The main focus is on using SOAP with JAXM and JAX-RPC.

Another chapter is entitled “J2EE and Web Services,” but a better title would have been “SOAP and Web Services.” The chapter is devoted to discussing how SOAP and J2EE are used together, including approaches to parsing SOAP messages, using RPC, and a lengthy example utilizing Java Message Service (JMS). It concludes with a brief discussion of emerging standards with coverage of the BEA-backed Java Web Service (JWS) initiative.

The good, bad, and ugly of interoperability
By far, my favorite section of the book is Chapter 9, which is devoted to the dreamland of interoperability that is lauded by Web service pundits but falls short in the real world. This chapter is a reality check for those who think Web services are the answer to all of our problems. It details many of the pitfalls and problem areas, and introduces the SOAPBuilders discussion group that was created to promote interoperability as SOAP matures. (New versions are released, and yes, these standards are still subject to the issue of different versions.) Another aspect covered in this section is .NET and J2EE Web service interoperability; it’s really good stuff.

What about security?
The book closes with a brief look at approaches to Web service security, including XML security (such as digital certificates and encryption) as well as SOAP security. Examples are included using Java toolkits from IBM and Phaos.

Lather up!
I have always loved O’Reilly books, and I found the information presented in Java Web Services very useful. However, the book focuses its efforts almost entirely on SOAP. There is overlap with other O’Reilly titles like Programming Web Services with SOAP and Java and SOAP. The introductory information on each technology can easily be found in other books (with more depth), but the Java samples and commentary on the technologies is certainly valuable.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment
Transform your business interactions with real-time voice, video and telepresence solutions.
Tech Vendor: Cisco

ZDNet Asia Live

Make BitDefender? Hati-hati!! Baca: http://j.mp/9nM4X7 http://koprol.com/s/3FzN

56 minutes ago by pepoluan on topsy

the ugly side of socmed marketing... companies, beware! http://j.mp/cIqelG http://koprol.com/s/3FyS

1 hour 3 minutes ago by pepoluan on topsy

Foreign LBS players need local tie-ups for commercial success in the region. http://tinyurl.com/yco936k

Personal Finance Software - Productivity Software - Mac - Free ...: SEE Finance. Personal finance manager featurin... http://bit.ly/a38bXY

2 hours 27 minutes ago by alisha204 on topsy

For BitDefender antivirus users, check out what the company said regarding its bad security update: http://bit.ly/cYTGug

Asia not ready for zero-client computing, says analyst. http://bit.ly/cALkZB

For BitDefender antivirus users, check out what the company said regarding its bad security update: http://bit.ly/cYTGug

3 hours 12 minutes ago by kevinzdnetasia on topsy

Asia not ready for zero-client computing, says analyst. http://bit.ly/cALkZB

3 hours 23 minutes ago by vivianzdnetasia on topsy

Four news blogs today, from Inside India, Msia Explorer, Mister Tech and Tech Legal. Do check them out. http://www.zdnetasia.com/blogs/

Read my blog post on getting the most from your Nexus One: http://www.zdnetasia.com/blogs/m...

RT @3wconsulting: Whitepaper from http://3W.com.au "Outsourcing Your IT Requirements to Philippines" now on @zdnetaustralia & @zdnetasia http://ow.ly/1oY9f

Whitepaper from http://3W.com.au "Outsourcing Your IT Requirements to Philippines" now on @zdnetaustralia & @zdnetasia http://ow.ly/1oYbA

Whitepaper from http://3W.com.au "Outsourcing Your IT Requirements to Philippines" now on @zdnetaustralia & @zdnetasia http://ow.ly/1oYbz

Zdnetasia.com Estimated Worth $178,365 USD. Daily Ad Revenue:$244 USD, Daily Views:81,445 Pages... - http://www.haplog.com/www.zdneta...

The receivers don't transmit back to the satellite. Unless there is a phone line attached to the receiver, they don't have any wa...

2 days 9 minutes ago by bessellbrowne on Apple to join the geolocation craze?

whatever little understanding I have we 'll only progress toward end of the world if we use HPCs to lenthen life of human being. Huma...

2 days 15 minutes ago by abhi32002@gmail.com on High computing promises elixir of life

Thanks for the knowledgeable article on SDDs. Allas...when all this reasearch will happen in Indian Universities. Hope the new bill on Fo...

2 days 28 minutes ago by abhi32002@gmail.com on APAC HPC users eye solid-state drives

It was a good article. This brings a good opportunity for Indian IT firms to come up with new solutions in this field. HPC can become a b...

2 days 47 minutes ago by abhi32002@gmail.com on High computing most-wanted job in Asia

COL KR DHARMADHIKARY(RETD) its very late to reply the link, but if it is still alive and looking for opportunity, i would like to know th...

2 days 44 minutes ago by deb021280 on Education takes off in rural India, helped by PCs

High performance computing (HPC) most-wanted job in Asia http://bit.ly/9vFC3i (via @zdnetasia) #singapore

RT @zdnetasia: EMC COO, Pat Gelsinger, on bridging gaps in the organization and its cloud ambitions in Asia. (cont) http://tl.gd/i5jjd

EMC COO, Pat Gelsinger, on bridging gaps in the organization and its cloud ambitions in Asia. http://bit.ly/9etOZW

Asian SMBs need to pay more attention to disaster recovery planning http://bit.ly/bDet08 via @zdnetasia

Asian SMBs need to pay more attention to disaster recovery planning http://bit.ly/bDet08

all of sg's isps have been practising compulsory invisible proxy for all home subscribers at their backend since many years back alre...

4 days 28 minutes ago by melvinchia on Web filters mean bad news for business

it is not to good for china.
Proactol

4 days 13 minutes ago by nathonastle on Chinese ad partners beg Google for information

Very good explanation of JMX

5 days 18 minutes ago by Babith B on Managing applications with JMX

The reaction to a report issued Tuesday by Flurry Analytics managed to completely overlook some interesting news--the Android-based Motorola Droid outsold the original iPhone over the same period of time following their respective launches--to focus instead on the sales numbers for the Nexus One.

5 days 21 minutes ago by lonemavericks on diggs

Another ZTE story....

5 days 23 minutes ago by Moderate Your Greed on Philippines opens bid for final 3G license

We at www.fifosys.com have also seen a growth in IT outsourcing and anticipate it as a growing field.

5 days 57 minutes ago by sarah Jane on Companies' outsourcing spend to increase

I agree with you. The iSiVaL is super portable and TVs can't expand their image size. I recorded a video that might bring some ideas to...

5 days 27 minutes ago by Jesse B Andersen on Buying a projector? Try an LED TV instead

hermm... he deserved it.. he shud not talk abt sensitive things like tat, well, he shud think twice before saying all those things, event...

5 days 5 minutes ago by ... on Facebook user charged in Malaysia

Password manager tools are potential security threat. Criminals who hack into the computer can use the password manager to log onto any s...

6 days 5 minutes ago by ohanae on What defaults should random password generators use?

I've found the cross platform utility unetbootin to be rather handy for this kind of thing as well.

6 days 39 minutes ago by Jim on Use Live USB Creator to install Fedora 12 from a USB stick

Thanks for the article. I think the debug command has an "\" after "C:" it should say w32tm /debug /enable /file:C:\l...

6 days 40 minutes ago by Roger Biefer on Manage time accuracy with W32Tm