Skip to Content
SOA in Practice
book

SOA in Practice

by Nicolai M. Josuttis
August 2007
Intermediate to advanced
342 pages
10h 52m
English
O'Reilly Media, Inc.
Content preview from SOA in Practice

Chapter 18. Model-Driven Service Development

SERVICE INTERFACES IN HETEROGENEOUS ENVIRONMENTS REQUIRE A LOT OF CODE. MOST OF THIS CODE often has the same structure, differing only according to the different parameters, exceptions, and other configuration data. This is a perfect situation for the application of code generators, or, to use a term that is more hype, model-driven service development (MDSD). (The S in MDSD more typically stands for “software,” but as we’re talking about services here I’ll use the alternative “service.”) Model-driven service development encompasses code both for the provider and for the consumers.

Generated Service Code

Because SOA is a concept for heterogeneous environments, you might need a lot of different code to implement and call a service. However, aside from the implementation details, the structure of the code is usually pretty much the same for any given platform. Thus, code for two different services will differ only in the specific data transferred, including aspects such as message exchange patterns (see Chapter 10).

The code that deals with this data conceptually (code to map the middleware protocol to an API, code to deal with security and reliability, and so on) will be pretty much the same. You could use libraries and frameworks to deal with the commonalities, but this approach has limits. Somewhere, the specific behavior of a specific service must come into play, and unless you provide full generic solutions, you’ll need code that operates ...

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

Enterprise Service Bus

Enterprise Service Bus

David A Chappell
Understanding SOA with Web Services

Understanding SOA with Web Services

Eric Newcomer, Greg Lomow
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: 9780596529550Errata Page