Get the Messaging Right the First Time

Get the Messaging Right the First Time

ava Messaging Service (JMS) is an excellent message-queuing specification and also a pretty good publish-subscribe solution. To determine the best JMS implementation for messaging at your site, you will have to undertake the same effort as when selecting any other enterprise technology?namely, listing your current needs and projecting what they are likely to be in the future.

What kind of messaging do you need? And what is a prioritized list of criteria? I suggest that the top criteria should be reliability and scalability. Only then should you consider other factors, such as performance, ease of use, and administration. And only then, examine lesser issues, such as price.

Reliability is important because dropped messages are a nightmare to debug. All you know is the application did not work correctly or a transaction balked for unknown reasons. You will never suspect the middleware, and if you do, you will never be able to both reproduce the dropped packet and debug the product. So start by asking a vendor for references. The references you want to see are sales to financial services companies and defense contractors. Then call the reference accounts. You don’t want to find the middleware was shelved, for example.

For more information on the overall Java market, see our special report, “Judging Java.”/I>  
Most people don’t recognize that scalability is a function of performance. They see the two issues as separate?they’re not. Can the system scale to 1,000 clients? Two thousand clients? But the answer to this question is invariably yes. The real question is: How will it perform when 1,000 clients come on line? Can the performance scale? Again, talk to references.

Pure performance, taken outside of the context of scalability, is less important. Most of the packages described here will be plenty fast enough for all projects with thresholds below real time. If you need real-time performance, look at the packages I discuss in “Extreme Performance.” Test the JMS candidates in your developer lab. Performance benchmarks are notoriously unreliable because they don’t reflect your site, so you will need to devise your own tests. Make sure they reflect your intended application; use messages that will be the same size as your production data items. Test the system under burst traffic and continuous flow. Have multiple clients send messages simultaneously at high volumes. Since your code will be mostly portable, you can run your benchmarks on all the final candidates you’re considering.

Price is the least important option. Because there are so many vendors in this market, prices are remarkably low. Before looking at cash outlay, examine the other secondary features, such as security options, administrative tools, and the like.

Your first decision, however, is likely to be whether you need a standalone JMS solution or one that is part of J2EE. If you’re expecting to use other J2EE technologies, especially enterprise Java Beans (EJBs) or Java Server Pages (JSPs), then a J2EE product might well be your best bet. If you just want a pure-play messaging middleware solution, then a standalone JMS will be less expensive and probably easier to tailor to your exact requirements.

JMS in J2EE
Choosing the right J2EE for your site is a complex task because J2EE is such a sprawl of technologies. Presuming, however, that your J2EE choice is predicated primarily on your choice of JMS, there are several top contenders. The first, without any doubt, is BEA Systems’ WebLogic, the market leader. Its JMS is fast and designed in-house. The J2EE implementation is superb; it’s universally recognized as the single best version of J2EE available. It has numerous features, excellent performance, scalability, and reliability.

The other heavyweight package is Totally E-Commerce from Hewlett-Packard Co.’s Bluestone Middleware division. The J2EE is also high-performance and scalable, and the JMS is provided by Sonic Software, a market leader in independent JMS versions.

IBM’s WebSphere is frequently associated with these products. However, WebSphere 3.5.x is not J2EE compliant. IBM has said it will be shipping J2EE-certifiedWebSphere 4.0 by fall 2001. The quality of WebSphere 4.0 cannot be ascertained, however, until customers have used the product for a while.

The problem with the BEA, IBM, and HP solutions is that they’re expensive and oriented toward large-scale server needs.  
The problem with the BEA, IBM, and HP solutions is that they’re expensive and oriented toward large-scale server needs. If you have more modest needs or are looking for just a departmental solution, Macromedia’s JRun is the best solution; it is easy to install, run, and administer and entirely sufficient for smaller-than-enterprise needs.

Standalone JMSM
If you’re buying JMS primarily because you need messaging middleware, you have many choices. The market leaders among standalone JMS vendors are Sonic Software and Fiorano. The implementations are roughly equal in quality. Sonic is part of Progress Software, a publicly traded company that has for many years sold databases to mid-sized companies as well as a development environment for its database. As a result, Progress has somewhat more corporate muscle behind it, whereas Fiorano is a pure JMS company. This observation goes to questions of long-term presence and support, not to quality of implementation.

If you currently have messaging middleware installed and simply want JMS interfaces to it, the first place to check is your current middleware vendor. Almost all vendors are shipping JMS wrappers to their middleware layer or have announced them. If not, then consider SpiritSoft’s solution. Its JMS runs over middleware from IBM, Talarian, and Tibco. And if you have none of these installed, SpiritSoft can provide its own transport layer.

There are numerous other independent JMS vendors, some of whom appear in specialized contexts below, but these three players are the main independents and should be on your short list for pure play JMS messaging.

Extreme Performance
Messaging companies that target financial-services firms have offerings that specialize in two aspects: extreme speed and unfailing reliability. The two big names in this space are Tibco and Talarian. Tibco has announced JMS but has not shipped and probably won’t for a while. If you have Tibco middleware and need JMS, go to SpiritSoft for your solution.

Meanwhile Talarian has begun shipping two JMS products. The entry-level product, Workbench for JMS, is currently shipping. It’s more of an introductory product. Priced inexpensively, it uses a subset of Talarian’s SmartSockets technology?enough to fill JMS requirements. The big banana, though, is the Enterprise Workbench for JMS, which is a complete release of SmartSockets with JMS wrappers. This product is a superset of JMS and should be available later this year. And if it’s true to SmartSockets’ heritage, it will be the fastest JMS you can buy.

SpiritSoft supplies similar technology to financial markets in Europe. There it maintains several contracts in which it incurs legal liability should a client lose a single message. This is extreme reliability.

Free and Open-Source JMS
SwiftMQ is a free, commercial version of JMS from Germany. The company makes its living selling support and source code for its product.

Two open-source versions exist: One is OpenJMS from ExoLab.com, and the other is part of a open-source version of J2EE at Jboss. That JMS is set at version 0.8, which makes me a bit concerned, although the JBoss folks state it’s complete and being deployed.

Unless you’re an open-source evangelist, I do not recommend you use open source for JMS. JMS does not enjoy the same advantages of GNU tools and Linux?namely a large community of users ready to support each other, answer questions, and supply fixes. Rather, it has a very small community, so support is much sketchier and fixes slower. Moreover, commercial versions are inexpensive, so the dollar savings of open source is slight. Finally, since the commercial versions have been deployed at more sites and on larger nets, they will be better tested than open-source versions.

Developer Versions
Almost all vendors provide free developer versions for you to use. Since code written for JMS is pretty much portable between implementations, you can take any leading version and work with it to develop and test your code. Most versions limit the number of connections you can make to the JMS server. This is the case with Sonic Software, Fiorano, and BEA Systems.

If you need to test your code on systems with more connections, then try SwiftSoft or Talarian’s free download, which are complete?but time-locked?implementations. Alas, the time locks are both an excessively short 15 days, so don’t download them until you’re ready to go. Alternatively, you can always use SwiftMQ’s version for an indefinite period, should you want to do more testing.

Take your time, choose carefully, and enjoy the fact that if you chose the wrong JMS, you will for the first time in computing history be able to change middleware providers without rewriting your applications. Hooray!

devx-admin

devx-admin

Share the Post:
2D Semiconductor Revolution

Disrupting Electronics with 2D Semiconductors

The rapid development in electronic devices has created an increasing demand for advanced semiconductors. While silicon has traditionally been the go-to material for such applications,

Cisco Growth

Cisco Cuts Jobs To Optimize Growth

Tech giant Cisco Systems Inc. recently unveiled plans to reduce its workforce in two Californian cities, with the goal of optimizing the company’s cost structure.

FAA Authorization

FAA Approves Drone Deliveries

In a significant development for the US drone industry, drone delivery company Zipline has gained Federal Aviation Administration (FAA) authorization, permitting them to operate drones

Mortgage Rate Challenges

Prop-Tech Firms Face Mortgage Rate Challenges

The surge in mortgage rates and a subsequent decrease in home buying have presented challenges for prop-tech firms like Divvy Homes, a rent-to-own start-up company.

Lighthouse Updates

Microsoft 365 Lighthouse: Powerful Updates

Microsoft has introduced a new update to Microsoft 365 Lighthouse, which includes support for alerts and notifications. This update is designed to give Managed Service

Website Lock

Mysterious Website Blockage Sparks Concern

Recently, visitors of a well-known resource website encountered a message blocking their access, resulting in disappointment and frustration among its users. While the reason for

2D Semiconductor Revolution

Disrupting Electronics with 2D Semiconductors

The rapid development in electronic devices has created an increasing demand for advanced semiconductors. While silicon has traditionally been the go-to material for such applications, it suffers from certain limitations.

Cisco Growth

Cisco Cuts Jobs To Optimize Growth

Tech giant Cisco Systems Inc. recently unveiled plans to reduce its workforce in two Californian cities, with the goal of optimizing the company’s cost structure. The company has decided to

FAA Authorization

FAA Approves Drone Deliveries

In a significant development for the US drone industry, drone delivery company Zipline has gained Federal Aviation Administration (FAA) authorization, permitting them to operate drones beyond the visual line of

Mortgage Rate Challenges

Prop-Tech Firms Face Mortgage Rate Challenges

The surge in mortgage rates and a subsequent decrease in home buying have presented challenges for prop-tech firms like Divvy Homes, a rent-to-own start-up company. With a previous valuation of

Lighthouse Updates

Microsoft 365 Lighthouse: Powerful Updates

Microsoft has introduced a new update to Microsoft 365 Lighthouse, which includes support for alerts and notifications. This update is designed to give Managed Service Providers (MSPs) increased control and

Website Lock

Mysterious Website Blockage Sparks Concern

Recently, visitors of a well-known resource website encountered a message blocking their access, resulting in disappointment and frustration among its users. While the reason for this limitation remains uncertain, specialists

AI Tool

Unleashing AI Power with Microsoft 365 Copilot

Microsoft has recently unveiled the initial list of Australian clients who will benefit from Microsoft 365 (M365) Copilot through the exclusive invitation-only global Early Access Program. Prominent organizations participating in

Microsoft Egnyte Collaboration

Microsoft and Egnyte Collaboration

Microsoft has revealed a collaboration with Egnyte, a prominent platform for content cooperation and governance, with the goal of improving real-time collaboration features within Microsoft 365 and Microsoft Teams. This

Best Laptops

Top Programming Laptops of 2023

In 2023, many developers prioritize finding the best laptop for programming, whether at home, in the workplace, or on the go. A high-performing, portable, and user-friendly laptop could significantly influence

Renaissance Gaming Magic

AI Unleashes A Gaming Renaissance

In recent times, artificial intelligence has achieved remarkable progress, with resources like ChatGPT becoming more sophisticated and readily available. Pietro Schirano, the design lead at Brex, has explored the capabilities

New Apple Watch

The New Apple Watch Ultra 2 is Awesome

Apple is making waves in the smartwatch market with the introduction of the highly anticipated Apple Watch Ultra 2. This revolutionary device promises exceptional performance, robust design, and a myriad

Truth Unveiling

Unveiling Truths in Bowen’s SMR Controversy

Tony Wood from the Grattan Institute has voiced his concerns over Climate and Energy Minister Chris Bowen’s critique of the Coalition’s support for small modular nuclear reactors (SMRs). Wood points

Avoiding Crisis

Racing to Defy Looming Financial Crisis

Chinese property developer Country Garden is facing a liquidity challenge as it approaches a deadline to pay $15 million in interest associated with an offshore bond. With a 30-day grace

Open-Source Development

Open-Source Software Development is King

The increasingly digital world has led to the emergence of open-source software as a critical factor in modern software development, with more than 70% of the infrastructure, products, and services

Home Savings

Sensational Savings on Smart Home Security

For a limited time only, Amazon is offering massive discounts on a variety of intelligent home devices, including products from its Ring security range. Running until October 2 or while

Apple Unleashed

A Deep Dive into the iPhone 15 Pro Max

Apple recently unveiled its groundbreaking iPhone 15 Pro and iPhone 15 Pro Max models, featuring a revolutionary design, extraordinary display technology, and unrivaled performance. These new models are the first

Renewable Crypto Miners

Crypto Miners Embrace Renewable Energy?

As the cryptocurrency sector deals with the fallout from the FTX and Celsius exchange collapses, Bitcoin miners are increasingly exploring alternative energy sources to reduce expenses and maintain profitability. Specialists

Laptop Savings

The HP Omen 16 is a Gamer’s Dream

Best Buy is currently offering an unbeatable deal on the HP Omen 16 gaming laptop, giving potential buyers the chance to save a significant $720 on their purchase. Originally priced

How to Check for Vulnerabilities in Exchange Server

It is imperative to keep your systems and infrastructure up-to-date to mitigate security issues and loopholes, and to protect them against any known vulnerabilities and security risks. There are many

Data Center Creation

Transforming Corporate Campuses into Thriving Data Centers

Dallas-based developer Compass Datacenters has purchased a 197-acre ex-corporate campus in Hoffman Estates, Illinois for an estimated $194 million. This acquisition occurs as more companies are downsizing and consolidating their

Nano Unbeatable Value

Lenovo ThinkPad X1 Nano: Unbeatable Value

The Lenovo ThinkPad X1 Nano, a first-generation model beloved for its ergonomic keyboards and stylish appearance, is now available at an unbeatable price of $600 on eBay. Though this 13-inch

Assistant Revolution

Home Assistant Green Makes Your Home Futuristic

In recent times, the growing interest in smart home technology has led to the emergence of various devices and platforms that enable homeowners to control and manage their homes in

Ultimate Smart Home

Unlock Your Ultimate Smart Home Adventure

Ever thought about having a home where everything is tailored to your needs and runs smoothly? Home automation may significantly impact your daily life. Transform your space into an intelligent

Gaming Laptops

Lenovo Legion Laptops Revolutionize Gaming

The gaming laptop market has recently been graced with two potent contenders, the Lenovo Legion 9i and the Legion Pro 7i. Both laptops boast powerful 13th-gen Intel Core i9 processors

Fintech Revolution Leap

Figure’s Bold Leap Beyond Banking

Figure, a fast-growing fintech startup, recently retracted its bid to become a bank, sparking speculation that the process was too challenging. However, the true reason behind Figure’s decision was its