Tuesday, April 28, 2009

Oracle aims for a Slice of Cake

Frank Martin of Oracle quipped that after the takeover of Sun, Planets and Moon might follow soon. Meanwhile, The Economist had another very good high-level story about the Sun takeover by Oracle titled "Mr Ellison helps himself". Great analysis with the conclusion that our industry is going from horizonal/modular to vertical/integrated with the Sun acquisition being just one indicator of the overall trend. The cake (market) is more segmented into slices than into layers. This has significant repercussions regarding the IT value chain that all players wil need to adapt to.

Monday, April 27, 2009

Message-Driven SOA = Robustness

I love Bill Poole's blog - In a post last year, Bill describes a service model that is built around cohesive business areas/capabilities and along the following principles: large grain services; asynchronous reliable communication; no centralized data; no cross-service transactions.

In the past I've worked as architect on an eGovernment project that followed just these same architectural principles. That was by design and also by necessity -- since the underlying product (SonicESB) naturally guided developers into modelling services as entities with a purely message-oriented interface (of course, that was putting the horse before the cart). Services in SonicESB aren't really services in the conventional sense -- they are written against an API and can communicate with other Sonic services only using that API. The API binds onto a JMS abstraction layer that exercises the underlying MOM implementation. However, some queues that drive services may be exposed via Web service interfaces to the external world. Sonic also offers a light-weight process construct: itinerary-based routing includes a routing slip with every message and describes which queues/services must be traversed in what order.

The project team really bought into the benefits of temporal decoupling and came to see it as godsend -- they also came to accept the unusual asynchronous communication style that goes with it.
  • individual service may be taken down for maintenance without negatively affecting the rest of the system -- messages simply get buffered until the service comes up again
  • as a corollary to the above: services do not need to handle peak loads -- just the average load. When bursts of messages arrive they are simply backlogged in the queue until the service can process them.
  • non-blocking for the message producer: fire-and-forget with reliable messages; producers "know" that messages eventually arrive - SLA of the recipient is can help in giving a deterministic timeframe
  • monitoring of queues: analyze queue utilization over time; detect usage patterns and adapt to and/or predict load situations;
  • inspection of in-flight messages: analysis of messages; remove and store individual messages; replay them at a later stage (or for testing); isolate poison messages and use them for failure analysis
While this particular system was built on top of Sonic, the general principles can be carried over onto any technology that supports reliable asynchronous messaging. Examples are JMS, AMQP, XMPP, WS-Notification, and others. The problem here is: how do you schema-describe your messages? This can be done by out-of-bounds mechanisms, albeit unsatisfactorily.

Thursday, April 23, 2009

Virtualization at the Endpoint?

Aaron Skonnard describes the Microsoft Managed Services Engine (MSE) over at MSDN.

Service virtualization is nothing new, of course - it's a pattern that underlies most SOA middleware products (ESBs) and agents (Actional, AmberPoint,..). Hosting platforms (WCF, App Servers) also provide rudimentary virtualization on top of the business logic.

The strength of virtualization lies in its power to isolate consumer and provider and decouple them -- more so than what would be possible if they interacted directly (somebody once said - not without irony - that "any problem can be solved by another layer of indirection" - was it an R. Johnson?). This shields a service developer from the requirements of the consumer and allows her to focus on business logic -- rather than getting multiple stakeholders to agree on the non-functional aspects of the service interface.

ESBs place service virtualization "in the middle" - the MSE that Aaron Skonnard describes places it at the endpoint. Endpoint-based virtualization is becoming a new trend. WCF does it and some other containers - to a limited degree. Some LOB packaged applications start to offer this functionality at the endpoint (e.g., Siebel with the inclusion of Fusion Middleware). This is also in support of pure SOAP architectures that describe the enterprise as just a collection of SOAP-speaking endpoints (with reliability, security, etc. all being controlled through WS* protocols).

Virtualization at the endpoint, however, is not equivalent to virtualization in the middle. It limits you to those aspects of a communication that occur -- well, at the endpoint -- just before hitting the business logic. All aspects that are more centralized conceptually, are more difficult to address. Think about location transparency, for example. If this aspect is implemented on a central, shared intermediation layer it is simple to move backend service providers to new locations. If there is no such infrastructure, then every consumer must be able to directly address the provider endpoint. Either you configure these addresses in peer-to-peer fashion (which is a mess) or you do some kind of lookup: this could be via DNS (only works with HTTP), a registry or a centralized resolver service. The two latter solutions require that the consumer endpoint (either the stack or the business logic) handles the address resolution.

Then, think about content-based routing -- and things get more difficult. This would be a functionality that the consumer endpoint would provide -- or an intermediate infrastructure service. Other examples for virtualization/intermediation requirements taht map more easily onto a (conceptuall) centralized implementation, rather than onto a set of distributed smart endpoints:
  • messaging patterns (pub/sub, reliable, async) - reliable queueing can be done at the endpoint but it's a maintenance nightmare (think trapped messages, poison messages, ...)
  • complex event processing - for correlation/pattern detection, all events must be brought together at the event correlation engine for the application of rules
  • message routing (addressing, CBR) - as mentioned above
  • layered security defense - combination of multiple security mechanisms where threats are filtered out at multiple policy enforcement points (PEP) along the communication path
  • control point for runtime governance (can you really rely on your distributed containers?) - to some degree, since you can monitor messages in progress, but not the availability of services that are not in use
  • Provididing multiple interfaces to different clients at different network locations - maybe you only want to make a certain "engineered" interface (different operations, different policies) available to another department, DMZ-external, etc.
The following diagram gives a conceptual idea of where intermediation/virtualization can take place when looking at the consumer-provider communication path:



Friday, March 13, 2009

Developer Summit 2009 - Stockholm

I'll be speaking together with Herbjörn Wilhelmsen at the Developer Summit 2009 in Stockholm about How to Survive the Bermuda Triangle of Legacy, Services and ESB.
Developer Summit, Scandinavia’s leading developer conference is turning 5 years! This year 40 sessions on 6 tracks, key-notes and workshops are planned.

Sunday, February 15, 2009

SOA Forum Schweiz 2009




The SOA Forum 2009 will take place May 12-13 in Zurich Sihlcity's cinema mediaplex. The motto this year: "Beyond the hype and theoretical discussions. Use SOA right – succeed in practice”.

Be sure to mark the date in your calendars! We'll have some really interesting and controversial keynote speakers at the start this year - wrapped up with a panel discussion.
I'll do a talk on mediation strategies in SOA and have a look at a SOA reference architecture.

Wednesday, February 04, 2009

SOA-ESB book page & interview


Thanks to Thomas Erl for just setting up this brand-new page on the upcoming ESB Architecture for SOA book. There is an associated audio podcast on InformIT where Joe McKendrick interviews Mark Little and myself about some of the ESB-related patterns that made it into the SOA design patterns book.

Tuesday, January 20, 2009

Tuesday, January 06, 2009

Zotero

In the past I've used various bibliography tools, such as EndNote (when on Word) and BibTex (when on LaTeX). Eventually, however, I've found bibliography heaven - a tool called Zotero. It's free, open-source and integrates nicely with Firefox. The more I use it the more I come to like it.

Monday, January 05, 2009

Steve Jones on the Business Service Bus (BSB)

I've read the post about Business Service Buses (BSB) by Steve Jones and the associated GoogleDoc with interest. Steve describes how a enterprise-wide BSB mediates multiple lowever-level and more domain-specific buses (DSB). I've seen such a model (I call it "hierarchical ESB topology") used in practice by at least one client.

pro arguments:
  • divide and conquer philosophy: hide and package structural complexity, only expose services to the upper level that are required there -- hide domain-internal services
  • the bus infrastructure effectively models the organizational structure
  • distributed governance -- i.e., each business unit can manage and control governance according to its particular requirements (also see the IBM article Choose an ESB topology to fit your business model)
cons:
  • extra complexity ("middleware for your middleware")
  • heterogeneous technology mix - leads to duplicate license costs, operational & maintenance costs

An alternative?
An alternative to the hierarchical ESB topology that Steve proposes would be the "intermediary layer" pattern: Only the business-unit or domain-specific services are encapsulated by an ESB or other type of intermediation layer (legacy wrappers or adapters, domain-specific intermediation services, XML appliances, etc.). This intermediation layer is necessary so that a standard SOAP + WS* protocol can be exposed to the upper level.

Instead of using the BSB one would then rely on the SOAP stack plus the advanced WS-standards to govern the reliability, security, availability, location, routing and other non-functional aspects of the message exchange. The endpoints exposed by the different intermediary layers would also need to agree on messaging patterns and on data formats (see www.soapatterns.org: canonical schema (158)).

I've modified Steve's diagram and replaced the BS with "SOAP and WS*" so that it looks like this:



Now I'd be really curious: what are the pros and cons of this alternative model compared to the original hierarchical topology pattern?

Wednesday, December 31, 2008

Meeting Herbjörn

Herbjörn and I met up in Sala yesterday. What great fun exploring the cafes of town and eating some very authentic Swedish food called pytt-i-pannan and discussing ideas for our article and book authoring activities.

Herbjörn also recommended two books which I shall read soon:

Monday, December 22, 2008

New Gartner Magic Quadrants

Gartner has just published new magic quadrants for the SOA/integration application infrastructure. They divide them into three different markets - although some products by the big-name vendors fall into multiple categories:
  • New Systematic SOA Application Projects - this market represents the grand, all-encompassing SOA suites, which - in a way - contradict the "best-of-breed" appraoch that most SOA advocates propagate. These products are positioned as overarching, complete SOA stacks. Integration is less of a requirement in this category than modeling and design, service implementation (from scratch), UI and orchestration/BPM.Gartner sees IBM WPS and Portal, Oracle Fusion Middleware and Microsoft .net/Azure as leaders -- with the JBoss Enterprise SOA Platform a close call. SAP NetWeaver is considered too ABAP/SAP specific to serve as the basis for a corporate-wide SOA initiative.All the plus points that Oracle can gather (except for BPM) seem to come from the BEA acquisition.

  • SOA Composite Application Projects - this market covers tools that can deal with a Brownfield situation, where most business logic is preexistent and independently deployed. Gartner defines a composite application as "a software assembly that implements a set of independent but related functions — each meant to be perceived by users as indivisible — and where the component parts are heterogeneous in their information architecture." Integration can occur either at the user-facing logic ("integration at the glass": mashup, (personal) portal and screen scraping, Web scraping) or in the backend (invoking services or the business logic of the backend app directly using a variety of communication protocols, while guaranteeing reliability, scalability, manageability and security). "A composite-application-oriented platform that is narrower in functionality, but also more deeply integrated and less-expensive than general-purpose suites". IBM, Oracle, Tibco, SAP, Software AG (webMethods) and Microsoft are in the leader's quadrant, whereas Red Hat is still considered a niche player here.

  • Back-End Application Integration Projects - this market came about as the cross-fertilization between EAI, MOM and WS-platform/management products. Its most prominent product representative are ESB platforms. Gartner sees the following drivers in this market: "1) companies expanding their SOA initiatives, 2) the trend of creating services by using existing business logic and data assets and 3) an emerging recognition that there is a huge overlap in the features required to support the deployment of SOA-based applications and those required to support data consistency, multistep process and composite application integration styles". Minimum criteria for membership in this category are: integration services, SOA and BPM support, management, dev environment, B2B, CEP, BAM, data integration. MS, IBM, Oracle, Tibco, Sun and Software AG are in the leader's quadrant again; Progress, Red Hat and surprinsingly -- good old Fiorano -- are kicking around as visionaries.

Wednesday, December 17, 2008

The Power of Network Intelligence

Forbes CIO Magazine ran an interesting article recently titled "Networks aren't just Data Highways" - lamenting the tremendous untapped compute power of the Internet's underlying infrastructure of routers, switches, firewalls, LBs, etc. Since all enterprise relevant information (email, CRM and ERP entries, etc) flows through the network, this is the one place where all data meet

Dan Woods predicts a development of the network towards an integral part of the application with the following tasks:
  • value added functionality (auditing, monitoring)
  • policy compliance monitoring (products by SAP, Cisco)
  • prevention of information leaks, intrusion detection
  • event mining for business intelligence purpose
  • devices with intelligence can act as event sources (GPS, RFID, WLAN hubs, user presence, smartcard readers, cameras, etc.)

Friday, November 21, 2008

two new (free) SOA books

Two new SOA books have just come out recently. Both are available as free PDFs (after registration):

  • An Implementor’s Guide to Service Oriented Architecture: Seven vendor representatives offer their views on the constituting parts of SOA and best practices. The aspects they examine are service design, registries and repositories, ESBs, runtime management, organizational structures and capability development (team, training). I especially enjoyed the ESB section by Hub Vandervoort of Progress. Hub details different mediation requirements that enterprises have today. He then goes on to demonstrate how these can be addressed with different infrastructure choices, such as ESB.

  • SOA Adoption for Dummies (courtesy of Software AG): The author liken SOA adoption to a space journey: keep the pointy end of the rocket up until you reach weightlessness. I quite like the view on ESB presented in this book - ESB is only one of a kind of SOA intermediation infrastructure - and it doesn't sit in between consumers and providers tying everything together. Rather it exposes services of different size, smell and colour in a homogeneous fashion to the consumer layer.

    Some SOA nerds may squirm after reading the ESB sections in this chapter. If you’re one of them, you may be inclined to have a near-religious belief in the classical view of ESB. In the classical view, an ESB is a critical piece of SOA infrastructure that sits between service providers and consumers. The services themselves are not hosted on the bus. We also strongly believe in the need for such infrastructure and address it in the later section “Understanding Service Mediation,” but we don’t believe that only products with an ESB label have a special right to be that piece of infrastructure.
I also like the following statement on the need for an intermediation layer in an SOA in order to increase flexibility and loose coupling:
    In order to achieve maximum flexibility in your SOA, service consumers should never connect directly to the service implementations in the service-enablement layer. Instead, they should connect to the service interface hosted in a separate service-mediation layer.

Sunday, November 16, 2008

Microsoft ESB Guidance v 2.0 out

Congratulations to Dmitri Ossipov and his team. They've just released version 2.0 of the Microsoft ESB Guidance.


From Adlai Maschiachs MS blog:
The Microsoft ESB Guidance provides architectural guidance, patterns, practices, and a set of BizTalk Server and .NET components to simplify the development of an Enterprise Service Bus (ESB) on the Microsoft platform and to allow Microsoft customers to extend their own messaging and integration solutions. The Microsoft ESB Guidance consists of a series of interoperating components that support and implement a loosely coupled messaging environment that makes it easier to build message-based enterprise applications. The services and components fall naturally into the following seven categories:

  • Web services. These expose internal services such as itinerary processing, exception management, resolution of endpoints and maps, BizTalk operations, UDDI interoperation, and transformation of message content.
  • Itinerary services and centralized store. These include agents for performing transformations and message delivery. You can resolve itinerary from the store and create custom services that participate in Itinerary processing.
  • Itinerary on-ramps. These receive external messages using either SOAP or WCF. On-ramps expose the itinerary SOAP header and perform itinerary processing, using the Microsoft ESB Guidance Resolver and Adapter Provider Framework for dynamic resolution of endpoints and metadata.
  • On-ramps. These receive external messages in a range of formats and transports, such as HTTP, JMS, WMQ, FTP, Flat File, and XML. They are typical BizTalk receive locations that optionally use the Microsoft ESB Guidance pipeline components and the Microsoft ESB Guidance Resolver and Adapter Provider Framework for dynamic resolution of endpoints and metadata.
  • Off-ramps. These implement send ports for the delivery of messages using formats and transports such as SOAP, WCF, JMS, WMQ, FTP, HTTP, Flat File, XML, or any other custom formats. They are typical BizTalk send ports that optionally use the Microsoft ESB Guidance pipeline components and the Microsoft ESB Guidance Resolver and Adapter Provider Framework for dynamic resolution of endpoints and metadata.
  • Exception Management Framework. This includes the exception Web service, the exception management API, and components that enrich, process, and pass exception details to the ESB Management Portal.
  • ESB Management Portal. This provides registry provisioning, exception mediation, alert notification, and analytics.

Tuesday, September 23, 2008

SOA Symposium 2008

Early next month I'll at the SOA Symposium 2008 in Amsterdam, presenting two talks on the topic of ESB. My friend Jim calls them "enterprise manboobs" in his hilarious talk.

Wednesday, September 27, 2006

Stolen Bike


When coming back from the US last Sunday I was informed by police that a burglary had had happened at my house. Agony: my mountain bike had been stolen! I'm gutted, especially because I had never expected anything like this to happen in Bern and the bike was not yet 6 months old and lovely!

Here are the details, please look out for it:

Colour: Black/Carbon, Yellow
Model: Scott Genius RC10
Frame Nr: TM34120097

Wednesday, September 20, 2006

ICWS/SCC 2006 Chicago


In Chicago for the IEEE ICWS 2006 Conference: Arnaud and I are presenting a paper on the topic of service contracts. We demonstrate how a "service contract template" can help to express concerns that go beyond WSDL.

Interesting chats with Ali Arsanjani about his work of using rule evaluation to take service authorization decisions based on a client's call context.

Chat with Tony Shan about high-performance messaging.

Talk by William R. Cook about Web Service vs. Distributed Objects.

The team from Newcastle Uni won the SCC06 Service Computing Contest - congratulations!

Chicago ist eine tolle Stadt – so viel Kultur und Abwechslung und schöne Lage am Lake Michigan, der durch seine Grösse wie das Meer wirkt, nur eben Süsswasser.

Am Wasser entlang führt ein 17-mile Walk, viele Radfahrer, Rollerblader, Jogger dort unterwegs. Unser Hotel ist nur zwei Blocks davon entfernt, also waren Arnaud und ich gestern abend dort joggen: schöne Stimmung mit Sonnenuntergang über dem Hochhausmeer, Reflektionen von gleissenden Sonnenabbildern in den Fassaden, rosagefärbte Woken über Lake Michigan. Danach Indisches Restaurant (ausgezeichnet!) und hoch in den 95. Stock des John Hancock Towers. Auf 300m Höhe eine Bar, stockwerkhohe Fenster über die ganze Fassadenbreite verteile. Es eröffnet sich ein überwältigender Blick über die Stadt, in unmittelbarer Nähe weiter Wolkenkratzer (die plötzlich klein erscheinen) und bis zum Horizont zeichnen sich die Planquadrate der Stadt ab, die Hauptverkehrsachsen, man könnte stundenlang gucken und staunen. Auf den Handybildern erscheint das unscharf, aber tatsächlich sieht man feinste Details.

Hotel ist direkt an der Magnificent Mile – sozusagen die Chicago High Street. Hier ist alles was Rang und Namen hat mit einem Signature Shop vertreten. Leider nicht genügend Zeit zum Shoppen: Weil die Konferenz in einem doofen Airport Hotel stattfindet müssen wir täglich 2x1h pendeln!

Saturday, September 16, 2006

Seattle




Ich bin hier bei Savas zu Besuch, einem alten Newcaste-Freund, bevor es dann für eine weitere Woche nach Chicago geht.

Schon ein paar erkundungstouren hinter mir. Ganz hübsch war der pike place market, ein gedeckter markt mit fisch, gemüse, blumen, honig, schmuck, nippes ... ähnlich grainger market in newcastle. Dann weiter über die hillclimb stairs zum hafen. Leider geht entlang der gesamten waterfront ein zweistöckiger expressway über brücken; lärm, gestank, sieht aus wie eine grosse Zahnspange vor der Stadt. Der blick über puget sound dafür sehr schön: in der ferne sieht man mehrere inseln, berge, interessante wolkenbilder. Seattle ist von puget sound und west lake im inland zu einer art sanduhr-form zusammengeschnürt. Sehr gut sieht man das vom Observation Deck der Space Needle auf 200m Höhe. Unglaublich viel wasser rundherum und nationalparks, berge, meer. Gute lebensqualiltät wenn man es sich leisten kann, aber man merkt auch dass man in amerika ist: überall eine verschwendung von energie, schrecklicher verkehr, armut, bettler. Eine strassenüberquerung zu fuss kann zum abenteuer werden.

Als ich dann genug hatte von der stadt bin ich mit der fähre auf bainbridge island gefahren. Nett, provincial, quaint dort. Die überfahrt dauert 40 minuten incl. toller blicke auf die seattle skyline. Drüben ein nettes küstendörfchen mit vielen "antiques stores", seafood, naherholungsgebiet eben.

Savas Freundin Cherie arbeitet als Fitness-Trainerin (und macht nebenbei einen PhD in Comp-Lit). Mit ihr war ich gestern auf einer Thaibo Session und zusammen waren wir ein paar Mal Karaoke-Singen (my world first). Savas wohnt gleich neben der Space Needle, dem wahrzeichen von seattle. In der unmittelbaren Umgebung gibt es einige klasse Restaurants (vor allem seafood, sushi – klar gleich am Meer). Ein anderes Wahrzeichen ist der Microsoft Campus -- Dort war ich am Donnerstag zum Lunch mit Dave, einem ehemaligen Arjuna-Kollegen aus Newcastle. Der Blick in die brodelnden Küchen, wo die nächsten Windows- und Officeversionne hergestellt werden, ist aufschlussreich. Basketballkörbe, Tischtennis, Billard, T-Shirts, schlapprige Hosen trifft man dort an: es geht sehr locker zu.

Zu meinem Geburtstag waren wir dann heute morgen noch in einem Seafood-Restaurant (Salty's) mit Blick auf die Skyline. Buffet: Krebse, Krabben, Austern, Hummer bis zum Abwinken. Highlight: der chocolate fountain sprudelte warme Schokolade aus und man kann seine Erdbeeren, etc. mit einem süssen Überguss versehen -- klasse Geburtstag also.

Sunday, April 02, 2006

Ski Tour Turtmann

My ski tour in the Swiss Alps was unfortunately marred by bad weather and high avalanche risk. In the end we had to quit early--the mountain guide didn’t feel it safe to proceed as originally planned to Tracuithütte and Bishorn (which is visible in the distance on the left).

So we were stuck for three days with bad weather in Turtmannhütte and didn't climb a single summit. Pity that, but a week with lots of fun, nice people and a some great skiing nevertheless. I learned some Swiss games and yet more Swiss-german language gems. Also learned how to build an igloo and how to dig in the avalanche transceiver without being able to recover it again.

Saturday, March 18, 2006

Gault Millau

Thanks to Thomas Meier I got my initiation to haute cuisine last night. I was invited to Fribourg's best restaurant, Le Perolles, which features with 17/20 points in the Gault Millau. What a difference to the usual daily bite :-). It's hard to describe the sensation of tastes and decorations in words, but anyway, here's the menu I devoured:


* * *

Amuse-bouche

* * *

Carpaccio de lapereau du Pays, sa cuisse en gelée aux légumes oubliés

* * *

Coussinnet de St-Jacques aux endives et noix, crème mousseuse de pleurotes

* * *

Filet de rouget barbet doré sur peau, tagliatelle fraîche au curry, petits légumes et moules

* * *

Tournedos de selle de renne en croustille de céleri, fond réduit au vin rouge

* * *

Chariot de fromages

* * *

Rouleau de printemps aux fruits exotiques

* * *

Brownies à la mousse choco-gingembre, tuile au miel, sorbet oranges sanguines

* * *