Java IoT Authors: Elizabeth White, Liz McMillan, Zakia Bouachraoui, Yeshim Deniz, Pat Romanski

Related Topics: Java IoT

Java IoT: Article

Dial Tone for Business Apps

Dial Tone for Business Apps

Around 15 years ago there was a cascading switch failure in the telephone network along the Eastern Seaboard of the United States. Phones stopped working. So did air traffic control, because information about air traffic was communicated between control towers using the phone network.

The failure was caused by incompatible implementations of the interswitch trunk protocols. These specs, while very long and detailed, are necessarily imperfect. With the best of intentions, different development teams interpreted the specs in different ways. When one switch started to fail, it sent out messages its neighbors didn't understand, and they failed. And so on, up and down the coast.

Such failures don't happen very often, because the standards are very good, the implementations are faithfully executed, and the systems are thoroughly tested. This stems from business motivations that make quality the highest priority.

When I moved from telecoms to databases, I was frankly appalled at the lack of formal specification and testing. Eventually I realized that this was an optimization with different goals. Business applications aren't like the phone network, which has to be all but 100% reliable - when was the last time you didn't get a dial tone? Failures are simply unacceptable.

Failures in e-mail and back-office applications are more acceptable in part because their scope is limited - between the applications are human correcting abilities and response times. When systems go down, we restart them and suppliers don't necessarily notice.

So why am I bringing this up?

Web services are turning back-office and desktop applications into something that's more like the phone network than what we're used to. Systems connected directly to one another lose those human correcting abilities and response times.

Reliability is more important in a world in which applications from different vendors written in different languages with different frameworks running on different hardware all have to interoperate correctly. Just as with the phone network, Web services will fail unless we have good specs faithfully implemented and thoroughly tested.

Good specs need to be thorough and unambiguous. If different "correct" implementations produce different results, how will programmers and consumers use them?

Faithful implementations need to follow the specs, but it is easy to find standards whose implementations are deliberately incompatible. HTML and Kerberos come immediately to mind.

The Java Community Process (JCP) addresses these issues by requiring that a specification be accompanied by a Technology Compatibility Kit (TCK) and a Reference Implementation (RI). The RI shows that the specification can be implemented, and to unearth ambiguities. The TCK verifies that the RI and any later implementations are faithful.

The value of Java standards depends on the completeness of these elements, and the integrity of those who implement them. If we measure that in terms of adoption, we're doing very well. Analysts estimate that there are about 3 million Java developers, and there have been over 1.3 million downloads of the J2EE platform 1.3 SDK.

There are around 15,000 tests in the Compatibility Test Suite (CTS) for J2EE version 1.3, and that number will increase substantially for version 1.4. The thoroughness provides assurance of portability of applications.

Application portability is the Java platform's "dial tone," thus the specifications are only available to those who commit to run the tests and ship only compatible implementations.

This is why developers and deployers need to be concerned with those who may claim to implement a specification, but who fail to demonstrate compatibility by running the tests.

Next time you're thinking about what platform to use for Web services, remember these questions: Is there an unambiguous specification? Is there a thorough test suite? Has your vendor run and passed the tests?

More Stories By Glen Martin

Glen Martin is J2EE strategist at Sun Microsystems, and leads the marketing and product management team responsible for Java Web services and J2EE. Glen participated in the EJB expert group, and wrote the J2EE 1.3 requirements document and J2EE 1.4 concept document. He has 14 years of broad industry experience in technical and marketing roles, developiing products ranging from packet switchers to development tools and several points in between.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
John Broglio 06/15/03 06:57:00 PM EDT

To the extent that Glen Martin's column ("Dialtone for Business Apps") reads like an intentionally bland stroke in the Sun-JBoss debate, it's a waste of space. Sun-JBoss is an issue that should be resolved behind closed doors by people behaving like adults in a spirit of compromise.
Starting with Scott McNealy's catastrophic interview on the subject printed last summer, the contretemps has been carried on in such a juvenile manner that it has made Bill Gates look statesmanlike. Enough already! Let's agree to let the nonsense around this issue die down, so that it can be approached quietly in an adult manner, hopefully in the near future. People who care about the future of Java should take pains to avoid polarizing the issue further, even with clumsy attempts at "velvet glove" infighting. Otherwise every one of us stands to lose in a big way.
There are still HUGE problems with evaluating a J2EE suite today, whether it is certified or not. A company I worked with had to spend upwards of $50K in manpower to find out by experimentation that a resource management solution in one top-of-the-line (certified) J2EE suite made the suite unsatisfactory for the application requirements.
So certification should be restored to its proper place as a necessary but relatively miniscule step in the process of identifying an appropriate network solution. And let's move on to the more useful activity of identifying how actual products succeed or fail in handling different kinds of real-world requirements.

IoT & Smart Cities Stories
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...