Java IoT Authors: Stackify Blog, Pat Romanski, Matt Lonstine, Glenda Sims, Paul Simmons

Related Topics: Java IoT

Java IoT: Article

The Price is Right

The Price is Right

Here we are again - a couple of pages telling you how it really is. What an interesting and varied month this has been! And a good month for Java. Lots of different things have been happening.

(Before I begin, I want it known that this is the first column I have ever written using a Mac. I'm sorry, but as they say, "When in Rome...." I'm out of my normal Gates world and have been thrown harshly into this Jobs utopia. I don't know about you, but better the devil you know and all that.... Before I go biting the hand that feeds me, I have to thank Frode Hegland for allowing me a bite of his Apple, for without it this article would not have been possible. Frode, on behalf of a Java nation, we thank you!)

This was the month that Java entered puberty. Like a newborn child finding its feet in a forever-changing environment, a significant milestone was reached. This milestone marks the beginning of a new life for us all. What am I talking about? Java 2, of course. But more on that later.

Trait of the Month
As usual - let's not deviate too much from a tried and tested formula - we'll discuss a personality trait. This month it'll be relief. That's the feeling that washes over us when we realize the situation isn't as drastic as we first thought. This was the month we at N-ARY breathed a huge sigh of relief that we had indeed taken the Java route. Let me tell you a cautionary story so others may heed the signs before it's too late.

We've been involved in a major project for the past 14 months. We were approached by a Norwegian startup, Liquid Information Company, to build them their dream. Their dream was to change the way people communicated by tearing down the barriers surrounding conventional communication channels. Build a better e-mail system, build a better newsgroup system, build a better system.

So we took their plans, sat down and designed a complete solution that would be flexible enough to meet the demands of a growing future. In other words, scalable. I'm sure it won't be too much of a surprise to you to realize we used Java to complete this. In actual fact, we built a complete Web-based e-mail/newsgroup system using Java Servlets, all linking back to a central e-mail repository maintained by an Oracle database. The whole thing worked like a charm.

Thank You, Oracle
At this juncture I must say a little about Oracle. Think of it as an update, if you wish. Some of you may remember one of the first articles in this series (JDJ Vol. 3, Issue 8) in which I highlighted the major problems we were having with the JDBC drivers shipped with Oracle. To recap, bottom line, we couldn't keep the Oracle drivers up long enough to do anything with them. We weren't alone in this quest for longevity. Many of you recounted similar tales of woe to me after the article was published, in addition to the many I found before the article. Anyway, WebLogic came to our rescue and supplied an Oracle-JDBC driver that worked superbly.

One of the good things to come from the article was that I was granted an audience with Oracle at their HQ in Redwood City, California. There they expressed their surprise at my findings, but said they would send me an updated JDBC driver to test. Well, I can happily report that this new driver worked a treat. Just a shame it took the publishing of an article to get a result. But it was a result nonetheless. So Oracle, I thank you.

How Sweet It Can Be
Back to our cautionary tale. Having designed and built the system, we looked at various platforms that could handle high-volume traffic and run Java efficiently. Naturally, we looked at Sun's offerings. After much deliberation we decided to purchase an Ultra to host the system until the user base grew, then we would migrate to a bigger system. Seemed a safe bet - no point in overspecifying the hardware at this point in the proceedings.

So in January 1998, and $6,000 later, we had a shiny new Sun Ultra serving our client base. It was wonderful. We were proud to be Sun users; we felt safe, in the bosom of the family, safety in numbers and all that. Bit like how the early adopters felt when they opened their Apple machines. But, as we were to discover, this "safety" came at a very high price.

What I'm about to tell you will scare you. It will have you running for Linux - or, even worse, NT. Yes, it's that bad. Whatever you do, please ask any accountants or financial controllers to leave the room. It's not pretty, what I'm about to tell you. Everything all clear?

As per the master plan, the Liquid Information service grew quickly in numbers. Only a couple of months after the release we had to look at upgrading the Sun box. Well, it did us proud all through development and beta testing. The numbers were growing rapidly and we needed an alternative. As luck would have it, Sun contacted us with a promotion they were doing. Basically, they would lend us a new E250 server for a month to see whether we would like to move up to it. So we called our local Sun reseller, MDIS, and had the machine shipped to us. It came, a huge beast of a thing, and once Oracle was installed it worked wonderfully. Ignoring the fact that we had to move the blooming thing to its own room due to the level of noise it was making, we were happy.

The Price of Safety
MDIS called us and asked whether we'd be interested in making a purchase. I indicated my overall pleasure with the machine and said, "Okay, let's talk." They came back with a price of around $6,000. Excellent, I thought. Since our Ultra was only nine months old, I said we didn't need two Sun boxes for this particular application and how much was our old box worth and would they be interested in taking it as part payment for the new box. MDIS said they would, and, after many days of evaluating the box, they came back to me with a price.

Remember, the Sun Ultra was purchased only nine months ago and, with the obligatory discount of around 40%, cost us $6,000. MDIS was now offering to take the machine from us for $1,200. What? As you can imagine, I was not a happy bunny at this stage. Within nine months the machine dropped in value by around 80%? Even a BMW won't drop that much. I was disgusted. First I thought, I know, it's the fax machine, maybe the "1" was supposed to be a "4" or even a "3". But, alas, the fax machine was not to blame. It faithfully reproduced the figures from MDIS.

Needless to say, the machine was not bought. After all, what sort of company could take a loss like that? No wonder Sun is growing at a tremendous rate. It's at the expense of us smaller companies. But do you know the ironic thing about all of this? The price of the Ultra had not moved in the six months prior to our purchasing the beast. We had been researching the price of Sun boxes for six months before making the purchase and the price had not moved. And to rub salt in the wound, in the summer of '98, seven months after buying the first Ultra, we phoned MDIS again to see the price of a new Ultra as we had two and the price quoted to us was the exact same. The price had therefore remained constant for at least nine months. But within four it had fallen 80%. I would have been really angry if we had made a decision to buy that second machine in the summer. So the E250 was quickly boxed and sent back.

After all, it was worth $6,000 the day it arrived and now that we were sending it back 30 days later it may have been worth only $5,000 or something like that. It was a risk we weren't about to take. But we still needed a server to run the Liquid Information system for our client. The silver lining in the whole episode was that we employed Java. This meant we weren't tied to any specific platform. We were free to choose. It was like hearing a choir of heavenly angels.

Relief in Sight
Looking around at alternatives we were impressed with what we saw. Our first port of call was Dell, to inquire about their end servers. Would you believe we could have bought three higher-powered machines for the price of one E250? Each machine came with far more memory, far more disk space, far more processor power---and as if this weren't enough, they were quieter.

"But they were a PC-based solution," I hear you Solaris diehards cry. Yes, you're right, but let me tell you, running Linux and our benchmark tests absolutely knocked spots off the E250. And because we had chosen the Java route we didn't even need to recompile. The hardest thing we had to do was to get the right password for FTP.

Now I'm sure I'm going to get tons of e-mail from you Sun representatives detailing the benefits that Solaris solutions can provide us with. But let me save you some time. Don't bother. We, the little guys, can't afford to buy into the Sun solution. The falling price of PCs that include dual processor solutions makes it cost-effective for companies to take this route. We can afford for our $1,400 solution to be worth only $200 after 12 months. This is realistic and the figures aren't scary. In actual fact, you get far more machine for your money.

For those of you who haven't discovered the wonders of Linux, you really ought to spend some time researching this piece of wonderful software. Think about it: Oracle isn't supporting it now out of the goodness of their hearts. They see the damage it can make and are sure as hell covering all bases by deploying time and effort into porting their database to it.

And that brings us nicely to Java 2, or what was called Java 1.2. Publishers must really love Sun for that version change, considering the number of books published bearing the 1.2 mark. Java 2 is now officially supporting Linux. Interesting, eh? Even Sun is recognizing the threat. So don't just take my word for it - have a look around, see how the big guns are treating Linux. Let us not lose sight of the fact that when you remove the need to process fancy graphical interfaces, a 300 MHz processor is a serious number cruncher.

Linux unleashes this power, which is one of the main factors for its popularity - apart from the fact that it's also free, which is never a bad thing. If that's not enough, the source code for Java 2 is now freely available, once you've signed a Web-based form. Sounds very like Linux, methinks. This in my opinion is a good thing. Control still needs to be exercised so we don't get a splintering of the Java platform, but freeing the source will allow more application areas to be explored that Java may have excluded from the shortlist.

So, the moral of the tale? Don't believe everything you read in print (except for this column, you understand - we'll draw a line here). Don't be scared to explore other options, and to breathe a huge sigh of relief that you've chosen Java as your underlying development language as this frees up your hardware decision-making process. Give yourself that pat on the back you deserve.

The Book Nook
Before I close this column down, let me recommend a must-have book. Last month I introduced this new feature and you are more than welcome to completely ignore these books. But they will change your life. This month's life changer is Out of Control from the keyboard of Kevin Kelly. It talks all about the biology of machines and how the computing world is striving to reproduce the well-oiled machine of Mother Nature. Kelly talks about developing perfect, errorfree code, which is truly inspirational. Another thought-provoking subject area is that of evolving software, the capability for software to "evolve" a solution as opposed to being given explicit instructions to solve the problem. Every developer needs to have this book on the shelf.

On that note I shall go and extract myself from this Macintosh world, and immerse myself back within the comfort of NT.

More Stories By Alan Williamson

Alan Williamson is widely recognized as an early expert on Cloud Computing, he is Co-Founder of aw2.0 Ltd, a software company specializing in deploying software solutions within Cloud networks. Alan is a Sun Java Champion and creator of OpenBlueDragon (an open source Java CFML runtime engine). With many books, articles and speaking engagements under his belt, Alan likes to talk passionately about what can be done TODAY and not get caught up in the marketing hype of TOMORROW. Follow his blog, http://alan.blog-city.com/ or e-mail him at cloud(at)alanwilliamson.org.

Comments (0)

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.

@ThingsExpo Stories
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, 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.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...