Welcome!

Java IoT Authors: Liz McMillan, Kevin Benedict, Elizabeth White, Pat Romanski, Jack Jachner

Related Topics: Java IoT, Mobile IoT, Open Source Cloud

Java IoT: Article

Are Native Mobile Apps Ready for the Enterprise?

It would be nice, very nice, to be able to use our mobile device to access to our enterprise software

The Apple App Store has reached 25 billion downloads, and many of us have bought and enjoy some of them. Really, the apps for iPad, iPhone and Android astonish us many times. The bad part comes when we go back to our desktop computer to use the enterprise software and feel as if we travel in the time some years back.

It would be nice, very nice, to be able to use our mobile device to access to our enterprise software. The question is: are native mobile applications ready for enterprise software?

The handicaps
Of course, we can write native mobile apps to run all our business, however there are some limitations inherent in mobile software that make it not optimum for developing enterprise software. I cite two of them below.

Instant update
In a typical enterprise web application written in Java that is being run by an application server, a change to the application has immediate effect in all the users. The users do not need any special procedure to update, they just use the browser as always and the application is already updated. On the other hand, a mobile application must be published to an app store, and the user must update the app explicitly. Moreover, many times we have to rely on external providers such as Apple (with the iOS Developer Enterprise Program) or Appaloosa to distribute and update our apps.
In short, traditional enterprise web application are easier to update than native mobile apps. This is an important point in an enterprise environment where sometimes we need to start with a version on some specific date, sometimes we have a critical bug to fix immediately, etc.

Multiplatform
With native mobile apps we have to write our application 3 times, one with Objective-C for iPhone, one with Java for Android and another one with C# for Windows Phone. We can ignore Windows Phone, but we cannot ignore iPhone or Android, so at least we have to write the apps two times. Though some multiplatform solutions exist, such as HTML5 + JavaScript with PhoneGap, this is still a serious problem.
For its part, a regular Java Enterprise application can be executed from any computer with a browser, and the application itself can run in any possible server configuration. The same code runs anywhere.

A web alternative
The obvious alternative is to run the current web enterprise application using the browser of the mobile device. It works, but it does not produce a good user experience, because the current applications are designed for the big screens of the desktop computer and to be used with mouse. The visual elements don't have a good layout in the small mobile screen and the links and buttons are too small and in the wrong place, so they are difficult to touch. Moreover, some elements of a regular web application just do not work in a mobile browser, such as resizable elements or rich text editors. And we want to feel a real mobile experience using gestures to manage the app or to see the usual visual effects of a native applications.
Of course, with the current web technology (A.K.A. HTML5) we can create web applications that behave and look like native mobile apps. It's true that a pure web application cannot use some device features like the accelerometer, the camera or the compass, but most enterprise applications do not need them and with the time these features will be available for pure web applications too (in fact some of them are already available). Also it's true that the native mobile application can work offline, but most enterprise applications need to be connected to live data in the servers, so they are not very useful offline anyway. Furthermore, we can create HTML5 offline applications if needed.
Creating web mobile applications allows us to use our current infrastructure and our current developers. However, it's not so easy, because we have to rewrite the user interface of our application completely, and afterwards we have to maintain both interfaces, the desktop one and the mobile one. How can you avoid this problem?

Automatic User Interface generation
Do not write the user interface, just generate it automatically. This is a way to have your enterprise applications in the desktop and in the mobile devices with very little cost. Maybe you think that automatic user interface generation does not work, but frameworks with automatic UI generation are among us for a while with great satisfaction for the developers and customers.

For example, using the OpenXava framework you can write a Product.java domain class, a class only with data structure and business logic but without any user interface logic, and from it you can get the following application in a desktop browser:

And the next in a smartphone (in this case using the XavaPhone add-on for OpenXava):

And all this writing only a single Java class.

Conclusion
Move your applications to the mobile world using web applications and consider using automatic UI generation tools, like OpenXava, as a practical technique for having multiple user interfaces.

More Stories By Javier Paniza

Javier Paniza is the project lead for OpenXava project. He works as software developer at Gestión 400, a software company for public administration in Spain. He has been developing with Java Enterprise since 1998. Also he has been J2EE mentor for development teams in banking projects.

@ThingsExpo Stories
There is only one world-class Cloud event on earth, and that is Cloud Expo – which returns to Silicon Valley for the 21st Cloud Expo at the Santa Clara Convention Center, October 31 - November 2, 2017. Every Global 2000 enterprise in the world is now integrating cloud computing in some form into its IT development and operations. Midsize and small businesses are also migrating to the cloud in increasing numbers. Companies are each developing their unique mix of cloud technologies and service...
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, will introduce 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...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
Recently, IoT seems emerging as a solution vehicle for data analytics on real-world scenarios from setting a room temperature setting to predicting a component failure of an aircraft. Compared with developing an application or deploying a cloud service, is an IoT solution unique? If so, how? How does a typical IoT solution architecture consist? And what are the essential components and how are they relevant to each other? How does the security play out? What are the best practices in formulating...
In his session at @ThingsExpo, Arvind Radhakrishnen discussed how IoT offers new business models in banking and financial services organizations with the capability to revolutionize products, payments, channels, business processes and asset management built on strong architectural foundation. The following topics were covered: How IoT stands to impact various business parameters including customer experience, cost and risk management within BFS organizations.
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 ...
SYS-CON Events announced today that Elastifile 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. Elastifile Cloud File System (ECFS) is software-defined data infrastructure designed for seamless and efficient management of dynamic workloads across heterogeneous environments. Elastifile provides the architecture needed to optimize your hybrid cloud environment, by facilitating efficient...
SYS-CON Events announced today that Golden Gate University 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. Since 1901, non-profit Golden Gate University (GGU) has been helping adults achieve their professional goals by providing high quality, practice-based undergraduate and graduate educational programs in law, taxation, business and related professions. Many of its courses are taug...
"We provide IoT solutions. We provide the most compatible solutions for many applications. Our solutions are industry agnostic and also protocol agnostic," explained Richard Han, Head of Sales and Marketing and Engineering at Systena America, in this SYS-CON.tv interview at @ThingsExpo, held June 6-8, 2017, at the Javits Center in New York City, NY.
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of 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. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Recently, WebRTC has a lot of eyes from market. The use cases of WebRTC are expanding - video chat, online education, online health care etc. Not only for human-to-human communication, but also IoT use cases such as machine to human use cases can be seen recently. One of the typical use-case is remote camera monitoring. With WebRTC, people can have interoperability and flexibility for deploying monitoring service. However, the benefit of WebRTC for IoT is not only its convenience and interopera...
SYS-CON Events announced today that Secure Channels, a cybersecurity firm, 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. Secure Channels, Inc. offers several products and solutions to its many clients, helping them protect critical data from being compromised and access to computer networks from the unauthorized. The company develops comprehensive data encryption security strategie...
From 2013, NTT Communications has been providing cPaaS service, SkyWay. Its customer’s expectations for leveraging WebRTC technology are not only typical real-time communication use cases such as Web conference, remote education, but also IoT use cases such as remote camera monitoring, smart-glass, and robotic. Because of this, NTT Communications has numerous IoT business use-cases that its customers are developing on top of PaaS. WebRTC will lead IoT businesses to be more innovative and address...
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
SYS-CON Events announced today that App2Cloud 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. App2Cloud is an online Platform, specializing in migrating legacy applications to any Cloud Providers (AWS, Azure, Google Cloud).
IoT is at the core or many Digital Transformation initiatives with the goal of re-inventing a company's business model. We all agree that collecting relevant IoT data will result in massive amounts of data needing to be stored. However, with the rapid development of IoT devices and ongoing business model transformation, we are not able to predict the volume and growth of IoT data. And with the lack of IoT history, traditional methods of IT and infrastructure planning based on the past do not app...
Internet-of-Things discussions can end up either going down the consumer gadget rabbit hole or focused on the sort of data logging that industrial manufacturers have been doing forever. However, in fact, companies today are already using IoT data both to optimize their operational technology and to improve the experience of customer interactions in novel ways. In his session at @ThingsExpo, Gordon Haff, Red Hat Technology Evangelist, shared examples from a wide range of industries – including en...
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. Jack Norris reviews best practices to show how companies develop, deploy, and dynamically update these applications and how this data-first...
Intelligent Automation is now one of the key business imperatives for CIOs and CISOs impacting all areas of business today. In his session at 21st Cloud Expo, Brian Boeggeman, VP Alliances & Partnerships at Ayehu, will talk about how business value is created and delivered through intelligent automation to today’s enterprises. The open ecosystem platform approach toward Intelligent Automation that Ayehu delivers to the market is core to enabling the creation of the self-driving enterprise.