About the architecture that sits somewhere between the business processes and the code.
Monday, July 12, 2010
The SOA Roller Coaster
Saturday, July 03, 2010
The Internal Cloud
We now faced with the next new thing - cloud computing. Although many are focusing on the advantages of "moving out to the cloud", are there already "weak signals" that cloud technologies will become as commonplace in enterprise IT as e-business technologies have already become.
Cloud providers have also changed the way we think about databases. Many are under the impression that there is only one type of database and it's relational. However the rise of the NoSQL database has shown that other types of databases have properties that can be attractive for different types of application.
Bringing this all together on the consumer side there is the architectural technique previously known as SOA coupled up with mash-up frameworks and associated standards.
Thursday, January 21, 2010
The Virtual Enterprise - Updated
Disregarding if 2012 is the right time-frame, what type of enterprise could dispense with all of their IT assets. I can only assume one in which IT offers no competitive advantage.
Looking back on those old blog posts, I also noticed that a lot of the SaaS companies I mentioned either don't exist anymore or have morphed into something else. If you believed in 2005 that you could dispense with IT assets, then by now you would have realised that you need to be capable of moving your information assets to different SaaS providers and adapting your business processes accordingly. This is probably still true in 2010 and will be something to consider by the 20% of "IT free" companies in 2012.
Friday, April 03, 2009
Coding the architecture or architecting the code
Sometimes though, if I listen carefully or reflect on what I do or have done, I get glimpses of what software architects hope to achieve by coding. This leaves me with the impression that the question should be rephrased to “Why should software architects code?”
Let’s list some answers:
The architect has to ensure that the system being developed actually implements the proposed architecture. As documentation is suspect and may even not be there, the architect has to read the code. But wouldn’t it be more efficient to have a tool that extracted the architecture from the code so that the architect only needed to make a comparison? Unfortunately tools to visualize the architecture based on the code do not seem be mainstream, especially in the context of modern distributed software systems (i.e. the type of system we really would like to see the architecture for!).
Architects need to code to understand new components, frameworks, ways of doing things etc. Most artifacts that are intended for general use in the software world are, from the viewpoint of an architect, terribly documented. Instead of providing clear advice on where a component (or framework or library) can be used, what problem it solves and in what context it solves that, most documentation forces the reader to go through page after page of coding examples which only show how it can be used. In short, the how, why and where are not there.
Most of the above are about one thing - communication of the architecture - be it from architect to developer, developer to architect (via the implemented system) or supplier/vendor etc. to the architect. Software architects seem to be trapped like the prisoner in Plato’s cave. They cannot see the architecture, but only the shadows of it in the code.
Isn’t about time to change that?
Thursday, March 19, 2009
Architecture that learns
Friday, December 05, 2008
The Pentagon Model of Service Contracts
One model I have been using is what I call the the "Pentagon Model". No, this does not have any thing to do with the US Department of Defence, but comes from the broad shape of the relationships between parts of the contract (see the diagram).
Tuesday, December 02, 2008
Think about the arrows
- Why the components need to communicate
- What information is communicated
- What the arrow indicates (e.g. flow of information)
- What component initiates the communication
- How the information is represented
- What protocols are used
- What is physically used to transmit the information
Monday, December 01, 2008
Trough of disillusionment
Friday, March 14, 2008
BPMN Again
Bruce uses some as yet unreleased software to diagram the BPMN examples he uses. I've taken the cheap route in the past and have been using some of the free Visio stencils I mentioned in the last post. Recently though I've been using a elegant stencil from Orbus software. Unfortunately it doesn't cover all of the features (e.g. catching and throwing events) and symbols in version 1.1 of BPMN.
Friday, February 22, 2008
Application Servers - The Next Generation?
Paremus recently released version 1.2 of Infiniflow, a next-generation distributed application server based on OSGi and SCA.What is interesting is the tacit acceptance that there is now a "next generation" of application servers.
Wednesday, February 20, 2008
SOA in Cloud Cuckoo Land
If you had that point of view and you'd been using Amazon's S3 services you would have been hit when the S3 service went down last week. If you boil down Amazon's explanation to it's essence it seems that the number of "consumers" increased unexpectedly and overloaded the security system. Now Amazon's up-time statistics are maybe very good, but systems still go down.
Now say that you're implementing a SOA in your company. The services provided are going to be mission critical (just like your applications are). But one day, they will go down. And when they do you better make sure that you know who is responsible for them, what the implementation is so that you can fix things and that the management is so set up that the right people are brought to the problem as soon as possible (and while you're at make sure that you've defined the SLAs for the services, governance processes are in place to ensure that usage profiles are known in advance and that the services are monitored so that you can spot possible problems before they become serious).
Saturday, September 29, 2007
ESBs again
Tuesday, September 25, 2007
BPEL4People - The Architecture
How does this all go together? Let’s start off at the simpler end. The basic assumption is that people provide services by acting on tasks which have been assigned to them. To see and handle the tasks which have been assigned to them is done using a task client. This is not specified by the specification, but it is a relatively safe bet that will take the form of a user interface with some kind of task list which the user can interact with (for instance, in a SAP environment this could be a universal work list). The user interface interacts with a task management component which stores the tasks assigned to the users. Again, it’s pretty likely that the task manager will be a central component that can hold the tasks for a number of users each of who has their own user interface. The spec defines the services which the task manager component exposes to a user interface. I’ve grouped them into three categories:
- Life Cycle, i.e. claiming a task (i.e. saying you’ll do it), starting, suspending and stopping tasks etc.
- Query, i.e. finding tasks based on certain criteria. The most important one here is getMyTasks.
- Administration services such as explicitly nominating someone to a task
So how do the tasks get into the task manager? Conceptually this is very simple. The task manager exposes a service for the business function (or functions) which need to be performed by a human. The service can then be called from another application or a process engine. Once the service has been invoked, the task manager creates a task which, as far the users are concerned, appears in a task list and can be dealt with over the task client. The user can then decide to act on the task until it’s completed. I’ve sketched a simplified scenario (using as an example a credit approval service) in a UML sequence diagram:
I must admit, I find the interface between the requesting application (the process engine in our scenario) and the task manager rather specific to the business logic required. The task manager has to expose specific services such as ApproveCredit rather than use a more general approach with services such as TaskCreate. This implies that any service developer will have to use an API which is specific (i.e. proprietary) to the task management component being used.
The above only sketches some of the main features found in the draft specification. Other features (such as notifications and placing service calls in a context) I haven’t included. The spec also defines in detail the messages between the main components. I look forward to more articles detailing what the specs actually mean for architects.
Saturday, July 21, 2007
SOA: The Human Angle
“ … captures architectural building blocks … as well as the relations among these blocks and among layers, interaction patterns, options, and architectural decisions.”.However , although most of these SOA models talks about business processes they give scant attention to the role of humans within those process. For instance, at one stage in a credit process we might need someone to approve the loan. Effectively this means that the approver is providing a service – deciding on loans using their experience and intelligence. In the IT Pro article we come across this statement:
“An SOA ... would support that process by creating a composite service that choreographs the information flow among a set of services and human actors”But that’s it. How the human actors are actually integrated into the SOA is not explained. This is fairly typically for most of the literature in this area which assumes an architectural model such as:

I was therefore interested to see that the BPEL4People draft specification has been recently published by a consortium of companies with the intent of getting this ratified by OASIS as a WS-* specification. BPEL4People is a set of extensions to the BPEL specification that address scenarios in which humans are involved in business processes. How it does this from an architectural point of view I’d like to explore in my next entry.
Tuesday, July 10, 2007
German government specifies SOA
Currently it is only in German, but often such documents are translated into English and published on the same web site later.
Monday, July 09, 2007
More on ESBs
The slide set reminds of a colleague (I wish I could remember his name) who once said "it is almost criminal to let a vendor determine your architecture".
Thursday, June 28, 2007
Point-Point, Hub-and-Spoke, ESB
As he points out there is a lot written about this, but nothing seems to be conclusive. When confronted by such situations I attack them by asking “want do we really want” and then work backwards to “what have we got”.
So, the first question is; do we want a “hub and spoke” architecture? Well, this was proposed as an answer to the point-to-point interconnection style. Continuing on with this ruthless analysis (so beloved of Dr. House) let’s ask the seemingly dumb question; do we need a point to point interconnection style?
Point to point came about because people needed to transfer data between applications. As time went on, more and more applications were written and, with them, more and more point to point interconnections were produced. This lead to a nightmare IT landscape which nobody could understand, let alone maintain (I once did an application inventory for a client in which the interfaces were also documented – the result filled four sheets of DIN A0 and made for interesting wallpaper!).
To solve this the hub-and-spoke architecture was proposed, which lead to EAI tools etc. etc.. But that was then and this is now and I think we have to ask again: why point-to-point?
In the brave new world of SOA we don’t have applications which need to pass data between themselves. Instead we have autonomous services. These are arranged in a hierarchy (although not a strict one) . Services are consumed by other services (e.g. composite services call atomic services) or, at the top nodes, by service consumers such as user interfaces. If we start building systems to implement this architectural style, we soon start to realize that certain functionality is required time and time again. We need to implement small processes which call services in predefined sequences, data needs to be aggregated from many sources or needs to be distributed to other services. The data needs to be transformed, enriched, split up. In addition we need build low level coordination between the services, so that we can implement concepts such as transactions and security. We also need to ensure that data is really transfered to the services (i.e. reliable delivery) etc..
All of this is what we really need to implement an SOA. But instead of implementing this all ourselves, we buy these things from somebody who has packaged it all together and given it a name - ESB.
Using this analysis means that the original question of fitness of a hub-and-spoke system is a question that does not need to be answered as a hub-and-spoke architecture is irrelevant for a modern systems landscape if an SOA style is used.
Tuesday, June 19, 2007
Designing Interfaces and REST
I was therefore interested to come across this blog entry from Joe Gregorio in which he applies REST technology to the design of the Apache DayTrader benchmark. What I find striking about this entry is how much care he has given to the interface design, reducing the original, and somewhat ad-hoc interface specification, to simpler principles based on a few entities and operations.
Tuesday, June 12, 2007
Tools for Globally Distributed Development (GDD)
Working for a company that routinely spreads its development out through the world I was interested to come across this report from Ryan Bagueros on how a small software development company can set up the tool support for GDD on the cheap by using tools available on the web. As he says:
"With some careful setup, any group of developers can compete with the budgets used by multinational software development firms to distribute their application engineering ..."
Of course, these tools do not need to be used on the scale of global development, but can be used on smaller scale developments where the developers do not all sit together.
Thursday, June 07, 2007
Using BPMN
As an architect I often have to sketch the processes to see how everything goes together. Over the last year I been increasingly using BPMN to do this, either on paper or with Visio. Unfortunately there doesn't seem to be much out there in the way of books which explain how BPMN should be used . Instead, I use a couple of tutorials written by Stephen White from IBM. Those with patience can use the textual version, for the impatient the slide show is the best.
As to sketching processes in Visio a number of stencils (with various levels of completeness and features) are available on the bpmn.org site.
