New-age Transactional Systems - Not Your Grandpa's OLTP
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Boris Lublinsky on Mar 25, 2008
When it comes to web services interoperability between .NET and Java, the choice used to be limited to SOAP over HTTP. This became even more limited with introduction of .NET 3.0 because only BasicHTTP binding in .NET provides direct interoperability with Java Web Services.
Two new options recently became available in this area – WebSphere MQ (WMQ) and ActiveMQ transports can now be used for building interoperable web services between Java and .NET. Moreover, reliable messaging for .NET is now extended. In addition to MSMQ, both WMQ and Active MQ can now be used as reliable transport for .NET Web Services.
The WMQ solution is based on the Custom Channel for IBM WMQ for Windows Communication Foundation available from IBM’s AlphaWorks, with a new version posted on March 14th. This product enables WMQ to be used as a custom channel within the Windows Communication Foundation (WCF) framework (as available in the .NET Framework 3), in the same manner as the built-in channels offered by Microsoft.
Messages are formatted according to the SOAP over JMS implementation available in WMQ v6.0, enabling applications to communicate both with services hosted by WCF or by the WebSphere SOAP over JMS service infrastructure, including WebSphere application server and CICS.
The current implementation is intended as a proof-of-concept to help better understand the product requirements in this area (and is not suitable for use in a production environment). The plans for productizing this implementation are not yet finalized.
The custom channel is built using the extensibility framework provided within the Windows Communication Foundation, which allows it to be integrated and used within the framework in the same way as the built-in transports offered by Microsoft. Service applications can be configured to use the new custom channel in the normal way, with client application being generated using standard tools such as the Microsoft Service Metadata Utility Tool (Svcutil.exe). Service metadata descriptions can either be published directly from a running service (provided it is exposed via an additional HTTP endpoint) or using WSDL (Web Service Description Language).
The current implementation supports the core messaging functions with the following restrictions:
The Active MQ solution is based on the Axis provider for JMS (in Java) and the “pluggable protocol” feature (in .NET). As such it is not packaged as a true .NET custom channel requires more custom programming.
Neither solution is fully productized, but both provide a good base for experimentation with alternative web services interoperability transports.
Actually, it is now much easier to interop between .NET and Java as .NET supports RESTful services
and you can use http, atom etc which are ubiquitous (you can take a look at a short post I made on the WCF REST options)
Arnon
Simply connecting .Net and Java with Webservices is no big deal. When using http it works out of the box. What this article talks about is using a message oriented middleware to do the connection. This has many advantages over http. For example you can have clustering for free by simply listening with two instances on the same queue. Another advantage is location transparency. When you use http you always have the server name in your url. So when you move your service from one server to another you have to adjust the url in the clients. When using a queue you can simply start an instance of the service on any machine and the clients can connect to it.
Of course nothing stops you from introducing one level of redirection in the HTTP case, too - either via a registry or through a simple "service document" containing links to the actual resources (or endpoints, if you prefer).
Such articles that describe .NET/Java (SOA, JMS, MSMQ, WEB, SOAP,etc.) interoperability should be titled as ".NET/J2EE ineroperability". This is a very specific case of .NET/Java interperability that has very huge overhead.
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
4 comments
Watch Thread Reply