Skip to Content
Java SOA Cookbook
book

Java SOA Cookbook

by Eben Hewitt
March 2009
Intermediate to advanced
740 pages
20h 32m
English
O'Reilly Media, Inc.
Content preview from Java SOA Cookbook

Chapter 3. Working with XML and Java

Introduction

This chapter provides some useful techniques for handling XML data in a variety of ways that are important specifically in the context of building out your SOA. We’ll also examine some relatively new ways of working with XML as provided by the latest Java APIs. As Java programmers, we’ve been processing XML in a variety of ways for several years, so I’m going to forego the basics there. I assume that you’ve worked with SAX and DOM before, so we can get right to the new stuff. Finally, this chapter aims to illustrate how to effectively use XML and data binding specifically within an SOA.

It is not a given, however, that every architect will design an SOA around XML. If you have decided that all your services will be implemented in straight Java using EJBs or RMI, that’s fine too. But using XML as your mode of message exchange is a very popular approach, and for good reason. SOA is about flexible integration. And while legacy data may live in a variety of formats, if you can get it into XML, you can move it anywhere else, transform it, and give it new life. In this way, XML supports what is, in my view, the core message of SOA: embrace difference. Midrange iSeries computers from IBM whose day job is running 20-year-old COBOL programs now come with SAX parsers out of the box. Native XML databases such as Xindice and Berkeley XML DB are gaining modest popularity. In support of SQL 2003, Microsoft SQL Server, Oracle, and JDBC 4.0 treat ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Java Web Services in a Nutshell

Java Web Services in a Nutshell

Kim Topley
SOA with Java: Realizing Service-Orientation with Java Technologies

SOA with Java: Realizing Service-Orientation with Java Technologies

Thomas Erl, Andre Tost, Satadru Roy, Philip Thomas, Raj Balasubramanian, David Chou, Thomas Plunkett

Publisher Resources

ISBN: 9780596156091Errata Page