Java IoT Authors: Elizabeth White, Liz McMillan, Yeshim Deniz, Zakia Bouachraoui, 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
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @ThingsExpo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. The IoT Global Network is a platform where you can connect with industry experts and network across the IoT community to build the successful IoT business of the future.
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
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...
DXWorldEXPO | CloudEXPO 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.
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these enterprise tools in a fast and "Non-Disruptive" way, enabling us to glean insights about our business, identify and reduce exposure, risk and liability, and secure business continuity?
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...