Your MOM Is The Future Of The Web: WebNext
Andrew Powell
If "Web 2.0" was all about interactions and experience, then what I like to call "WebNext" is going to be about how we communicate with our services. The experience revolution that we've been a part of in the last 5 years has changed the way we use the Web, but WebNext will fundamentally change the way applications communicate and that will open up doors we never thought possible.
So what is going to drive all this? Well, it's quite simple. Ever since we've had the Web, and into Web 2.0, server communication has always been synchronous. The client makes a request and waits, in some form or another, for a response. The concept of WebNext is driven by Message Oriented Middleware (MOM). MOM brings a level of asynchronicity to the client-server communication paradigm that is just now starting to get traction in the enterprise sector. With MOM, your application sends a message to a message bus (cloud), then immediately goes about its business. Whether or not you listen for a corresponding response message from the bus, or if the server even responds via the bus, is totally unrelated the message you initially sent. It is a total shift from the request-response model we are used to now.
Let's stop for a minute and think about what this means in terms of development. Developers can now truly develop both the client and server (and back-office processes) in parallel to each other. As far as each tier is concerned, everything else that it communicates with is just a "black box". You can develop your client independent of the server, as long as you know what messages for which to listen and what messages you want to send and how to send them. It's pretty straightforward, once you break the components down.
The client level platform can be anything that can communicate with the message bus. Same goes for the servers and back-office processors. The bus that is the most prevalent foundation for architecting MOM powered applications is JMS. A good number of Enterprise Service Buses (like Fiorano), which expand on the concept of MOM, are running on top of JMS. At the moment though, Microsoft's MQ not withstanding, JMS is the most user-friendly and standards-based API available to implement MOM. JMS, at this point in the MOM concept, is a solid platform for implementing MOM type architectures.
Where does this bring us with WebNext? In WebNext, applications become independent of a particular web server and middleware. In WebNext, applications become message relayers, message creators, message readers, and message destinations. Applications gain true autonomy in this server independence. Applications will be able to communicate with a diverse and distributed set of services, ranging from an .NET app (there are JMS adapters) to Java apps to tiers such as ColdFusion. Security models can be setup that will make services either trusted or untrusted, authenticated or not, etc. The crux of WebNext is that it will give us a truly distributed web.
I believe that going forward, for the Web to remain relevant, it needs to be changing and evolving. This paradigm of WebNext via MOM is the next evolution for the Web. If, at the client level, we are able to, at least partially, break out of the request-response paradigm, why can we not break out of it when it comes to the server-side? The current communication, at its heart is still request-response and synchronous. Asynchronous requests to the server will allow us to open more doors and process data in methods currently not thought of as "standard practice". WebNext is the future, it's just a matter of how quickly we get there.
Posted in Java | ColdFusion | Flex | General | JMS | MOM | WebNext |
5 comments