Welcome!

Open Source Cloud Authors: Liz McMillan, Pat Romanski, Elizabeth White, Yeshim Deniz, Zakia Bouachraoui

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.

IoT & Smart Cities Stories
A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to great conferences, helping you discover new conferences and increase your return on investment.
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER gives detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPOalso offers sp...
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
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.
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.
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...
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.