| By Shai Almog | Article Rating: |
|
| January 21, 2013 02:15 PM EST | Reads: |
1,907 |
I was programming in C++ for a living when I fell in love with Java.
It was an unintended affair. At the time, I was following a trend with the limited language of C++, which didn't even have operator overloading or templates, but boasted simplicity and the ability to write the code once and run it anywhere (otherwise known as WORA).
But Java came along and changed everything. In fact, despite what most people say about Java in the mobile age, I still find it relevant, useful and an important coding tool going forward.

Java's WORA was much maligned during its early years, but people tend to forget how difficult things were before Java came along. Java was designed as a language of minimalism: There are less ways to accomplish a certain task, but that also makes it easy to go back in and make changes or corrections. With free and open tools, it made tackling the issues of platform defragmentation easier than ever.
Today, we are again experiencing defragmentation - but this time in the mobile space, with every device family moving further and further away from commonality and toward its own family of code. Java, as the most capable language used to support multiple platforms, is the closest thing to universal that developers can rely on.
Historically, tools for cross-platform mobile development in Java were in the $30,000 price range and delivered poor results. This is no longer the case. Tools from several vendors bring Java 5 functionality and native UIs without compromising on quality and ease of use. Companies and organizations such as Oracle, Codename One and XMLVM are bringing out stacks for Java developers to target some of the mobile platforms where Java hasn't been represented, and some of these solutions offer compelling UI options.
The leaders of the current crop of Java-based tools work by translating the Java bytecode to native C/Objective-C code and thus deliver fast native performance on iOS without an interpreter overhead (thus circumventing the JIT restriction on iOS). Some of the tools provide cloud build environments similar to the one provided by PhoneGap, removing the need to own a Mac to build a native iOS application. This allows casual developers who would like to get their feet wet programming to iOS/Android to get on board and leverage their existing Java skills to create native applications.
There are, of course, drawbacks to Java. Unfortunately, there is still no true alternative to it - HTML 5, which is the closest competitor, provides a vastly different programming experience and requires quite different skill sets. Android serves as a heaven of sort to Java developers in which they can easily develop using their favorite language; however, because the Android API is very specific to Android, the WORA aspect for Android only applies to other Android devices. RIM has its own flavor of Java and is working on supporting Android API in future OSs, but iOS/Windows phones don't have a proper alternative to Java developers.
There are several concurrent open source attempts to rectify this situation and restore the WORA aspect for mobile Java. Most of these attempts face an uphill battle since the platforms involved differ to such a great extent it's very hard to create a common ground that doesn't fall into the lowest common denominator approach.
For those who use these tools, make sure to check out their support forums, try out the options, evaluate their results and look through the application galleries. When building a mobile application the most important feature is the support forum - when things don't work, you need help, and in mobile development things can get pretty complicated along the way.
Developers who want simplicity and WORA capabilities in the mobile age may not have a lot of options. But Java, for all its faults, still provides what most developers need to get ahead in the world of coding. As cross-functionality becomes a greater priority for the coders, this baseline language will become the standard bearer yet again.
Published January 21, 2013 Reads 1,907
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Shai Almog
Shai Almog is CEO and Co-Founder of Codename One. He has been developing software professionally for over 20 years. He started specializing in Java in 1996 and most recently joined fellow veteran software developer, Chen Fishbein, to form Codename One, which allows Java developers to write mobile applications to all devices. Prior to this, Shai formed a consulting firm focused around Java development. Within this company Shai & his employees worked extensively with Sun Microsystems, IBM, Oracle, NTT DoCoMo, Sprint, Verizon, Vodafone, Nokia, Samsung, Major banks, government, institutions, startups and more.
Shai has vast experience in VM internals, UI, enterprise backend and almost every aspect of Java. He has worked on specifying and implementing Java VMs/APIs, building tools, end user applications, sites and much more.
- Cloud People: A Who's Who of Cloud Computing
- Why Averages Are Inadequate, and Percentiles Are Great
- Cross-Platform Hybrid Mobile Application Development
- Big Data Expo 2013 New York Call for Papers Now Open
- The Data Explosion. Are We Ready? (or Not)
- Intelligent Complex Event Processing with Artificial Neural Network
- Agile Cloud, Big Data and Mobility
- Enterprise Framework Service for WebSphere Datapower
- Cloudera Gets Another $65 Million to Grow On
- Big Data in 2020
- 2012 Cloud Data Trends – Year in Review
- The Cure for the Common Cloud-Based Big Data Initiative
- Cloud People: A Who's Who of Cloud Computing
- Why Averages Are Inadequate, and Percentiles Are Great
- Cross-Platform Hybrid Mobile Application Development
- Cisco's Cloud CTO Keynotes at Cloud Expo | The Ever-Changing Cloud
- Little Data, Big Data and Very Big Data (VBD) or Big BS?
- Big Data Expo 2013 New York Call for Papers Now Open
- The Data Explosion. Are We Ready? (or Not)
- Intelligent Complex Event Processing with Artificial Neural Network
- Recent Developments in Cloud Computing
- Agile Cloud, Big Data and Mobility
- Cloud Expo Silicon Valley: Making Money in the OpenStack Ecosystem
- Enterprise Framework Service for WebSphere Datapower
- The Top 250 Players in the Cloud Computing Ecosystem
- Web Services Using ColdFusion and Apache CXF
- Cloud People: A Who's Who of Cloud Computing
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- Eclipse "Pollinate" Project to Integrate with Apache Beehive
- Cloud Expo New York Call for Papers Now Open
- An Introduction to Ant
- Apache's Tomcat 5.5 is First Release Ever to Use Eclipse JDT Java Compiler
- Beehive Code Now Available in Apache
- Cloud Expo 2011 East To Attract 10,000 Delegates and 200 Exhibitors
- 4th International Cloud Computing Conference & Expo Starts Today
- "Beehive" Now Officially an Open Source Project: Apache Beehive
























