Welcome!

Java Authors: Pat Romanski, Carmen Gonzalez, Liz McMillan, Yeshim Deniz, Yakov Fain

Related Topics: Java, .NET, Open Source, Open Web, Red Hat, Cloud Expo

Java: Article

Enterprise Java EE PaaS - OpenShift vs Google App Engine for Java

The concept of PaaS tends to bring new benefits to the enterprise

Platform as a Service (PaaS)
Platform-as-a-Service (PaaS) represents a complete preintegrated platform offering for the development and operation of general purpose business applications. A fully preintegrated and standardized platform - offered in a multi-tenant mode as a managed service - means much less manual effort than installing and configuring middleware components in on-premise servers.

Enterprise architecture patterns and framework changed heavily during the last decade, the software / platform / framework upgrades eat up the major chunk of it budgets and leaving relatively smaller portion for business innovation.

One of the important goals of PaaS is to relieve the enterprises from the trouble of upgrades and concentrate on business value to clients.

Due to the above out-of-the-box features for enterprises, PaaS is considered an enabler for innovation. The following is a comparison of various PaaS platforms in general and in particular about Java EE PaaS platforms.

Windows Azure and PaaS for .NET
Ever since the beginning of this century comparisons between the platform capabilities of Java EE (Java Enterprise Edition) and Microsoft .NET is a common discussion in most of the decision points for the choice of enterprise platforms.

With the advent of Cloud, Microsoft has taken a lead with the Windows Azure PaaS (Platform as a Service).

From a platform perspective Windows Azure provides a complete list of options as available to .NET developers in an ‘On-Premise' setup, which includes:

  • Full Support for .NET framework and languages like C#, Visual Basic
  • Web Development using ASP.NET
  • Distributed Processing using WCF (Windows Communication Framework)
  • Enterprise database support with SQL Azure
  • Data Access Services using ADO.net and LINQ
  • Rich Internet Application Support using Silverlight
  • Mobile Services for Windows 8 Development

Most key decision makers for Cloud enablement will be left with the questions on how good an equivalent is the Java EE platform.

Java EE PaaS Options
Java, a counterpart of the .NET platform, was earlier referred to as J2EE but is now called Java EE and it offers several enterprise class features for multi-tiered enterprise development. Java Platform, Enterprise Edition (Java EE) 6 is the industry standard for enterprise Java computing. Utilize the new, lightweight Java EE 6 Web Profile to create next-generation web applications, and the full power of the Java EE 6 platform for enterprise applications. Developers will benefit from productivity improvements with more annotations, more POJOs (Plain Old Java Objects), simplified packaging, and less XML configuration. The below is the comparison two major PaaS Offerings on Java EE.

  • Google App Engine For Java (GAE For Java)
  • Redhat Open Shift

However, Java EE PaaS is not restricted to these two. I have covered a lot other platforms in my earlier articles. This is done for a more for direct comparison between GAE For Java and Red Hat OpenShift. Please refer to my other articles below on Java EE PaaS.

Java EE PaaS Innovations : Application Server Interoperability

Java EE PaaS : Offerings From IBM And Oracle

Windows Azure Vs VMWare vFabric

Java EE Support:

Red Hat Open Shift

Google App Engine for Java

The JBoss EAP 6.0 cartridge in OpenShift runs in Java EE6 Full Profile. Highlights of the technologies that developers can take advantage of include:

Web application technologies for serving web and mobile content, including Java Servlets, JavaServer Pages (JSP), JavaServer Faces (JSF)

Java Persistence (JPA) for data persistence .

Web services and Java APIs for REST-ful services (JAX-RS) for communicating with mobile devices, HTML5 sites, and external systems.

Enterprise JavaBeans (EJB 3.1), Java Message Service (JMS), and Java Transaction API (JTA)

With App Engine, you can build web applications using standard Java technologies and run them on Google's scalable infrastructure.

 

The Java environment provides a Java 6 JVM, a Java Servlets interface, and support for standard interfaces to the App Engine scalable datastore and services, such as JDO, JPA, JavaMail, and JCache.

 

App Engine uses the Java Servlet standard for web applications. You provide your app's servlet classes, JavaServer Pages (JSPs), static files and data files, along with the deployment descriptor (the web.xml file) and other configuration files, in a standard WAR directory structure. App Engine serves requests by invoking servlets according to the deployment descriptor.

Integration / Back-End Components:

Red Hat Open Shift

Google App Engine for Java

OpenShift supports a wide list of application technologies. Each technology is delivered as a cartridge - a pluggable capability you can add at any time. When you create an application you start with a web platform cartridge and then can add additional capabilities as you choose.

The following back end databases are supported as part of the PaaS Platform.

 

MongoDB is a scalable, high-performance, open source NoSQL database.

MySQL is a multi-user, multi-threaded SQL database server.

PostgreSQL is an advanced Object-Relational database management system

App Engine's underlying datastore is based on BigTable, not a traditional SQL-based RDBMS like MySQL or PostgreSQL. You may either use the low-level datastore API or the JDO or JPA object-relational mapping interfaces provided. Various JDBC wrappers are available for the datastore, and you may still be able to connect to in-memory databases such as the H2 database engine or HSQLDB. SQL. In particular, the following are not Supported: Join operations,

Inequality filtering on multiple properties,

Filtering of data based on results of a sub query.

Framework Support:

Red Hat Open Shift

Google App Engine for Java

Seam is a framework for developing rich internet Java applications. "Seam integrates technologies such as Asynchronous JavaScript and XML (AJAX), JavaServer Faces (JSF), Java Persistence (JPA), Enterprise Java Beans (EJB 3.0) and Business Process Management (BPM) into a unified full-stack solution.

OpenShift supports it out of the box without any tooling.

In order to get Seam working on GAE, some workarounds are necessary, as per the documentation available.

 

Please refer to the article by David Blado PaaS Evangelist for more details on this aspect.

 

Which PaaS Is Right For My Java App.

Cloud Attributes (Auto Scaling , Dynamic Infrastructure) :

Red Hat Open Shift

Google App Engine for Java

Application scaling enables your application to react to changes in traffic and automatically allocate the necessary resources to handle your current demand. The OpenShift infrastructure monitors incoming web traffic and automatically brings copies of your web cartridge online to handle requests.

The algorithm for scaling up and scaling down is based on the number of concurrent requests to your application. OpenShift allocates 10 connections per gear - if HAProxy sees that you're sustaining 90% of your peak capacity, it adds another gear. If your demand falls to 50% of your peak capacity for several minutes, HAProxy removes that gear. Simple!

Automatic scaling is built in with App Engine, all you have to do is write your application code and GAE will do the rest. No matter how many users you have or how much data your application stores, App Engine can scale to meet your needs.

Summary
The concept of PaaS tends to bring new benefits to the enterprise in terms of managing their core business logic and not concentrate much on the framework and other platform components. On top of it, PaaS is built on Cloud IaaS and comes with it, all the basic benefits of Cloud. In this context both GAE and Open Shift are useful options to evaluate for the enterprises.

However due to the support for Java EE full implementation and open standards along with extended support for common relational databases, Redhat Open Shift provides a better option for porting existing Java EE applications to Cloud.

More Stories By Srinivasan Sundara Rajan

I am passionate about ownership and driving things on my own, with my breadth and depth on Enterprise Technology I could run any aspect of IT Industry and make it a success. I am a Seasoned Enterprise IT Expert, mainly in the areas of Solution,Integration and Architecture, across Structured, Unstructured data sources, especially in manufacturing domain. My recent work is on Natural Language Processing, Semantic Enrichment of Unstructured Data, Data Mining and Predictive Analytics. However I have a strong footing across all tiers of Enterprise IT spectrum. I am geared to handle the massive flow of data by Internet Of Things with appropriate platform, tools and processes.

@ThingsExpo Stories
SYS-CON Events announced today that Matrix.org has been named “Silver Sponsor” of Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Matrix is an ambitious new open standard for open, distributed, real-time communication over IP. It defines a new approach for interoperable Instant Messaging and VoIP based on pragmatic HTTP APIs and WebRTC, and provides open source reference implementations to showcase and bootstrap the new standard. Our focus is on simplicity, security, and supporting the fullest feature set.
BSQUARE is a global leader of embedded software solutions. We enable smart connected systems at the device level and beyond that millions use every day and provide actionable data solutions for the growing Internet of Things (IoT) market. We empower our world-class customers with our products, services and solutions to achieve innovation and success. For more information, visit www.bsquare.com.
Connected devices are changing the way we go about our everyday life, from wearables to driverless cars, to smart grids and entire industries revolutionizing business opportunities through smart objects, capable of two-way communication. But what happens when objects are given an IP-address, and we rely on that connection, sometimes with our lives? How do we secure those vast data infrastructures and safe-keep the privacy of sensitive information? This session will outline how each and every connected device can uphold a core root of trust via a unique cryptographic signature – a “bir...
From a software development perspective IoT is about programming "things," about connecting them with each other or integrating them with existing applications. In his session at @ThingsExpo, Yakov Fain, co-founder of Farata Systems and SuranceBay, will show you how small IoT-enabled devices from multiple manufacturers can be integrated into the workflow of an enterprise application. This is a practical demo of building a framework and components in HTML/Java/Mobile technologies to serve as a platform that can integrate new devices as they become available on the market.
SYS-CON Events announced today that Utimaco will exhibit at SYS-CON's 15th International Cloud Expo®, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Utimaco is a leading manufacturer of hardware based security solutions that provide the root of trust to keep cryptographic keys safe, secure critical digital infrastructures and protect high value data assets. Only Utimaco delivers a general-purpose hardware security module (HSM) as a customizable platform to easily integrate into existing software solutions, embed business logic and build s...
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends: Exposing the device to a management framework Exposing that management framework to a business centric logic • Exposing that business layer and data to end users. This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it’s a mix of architectural style...
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at Internet of @ThingsExpo, Robin Raymond, Chief Architect at Hookflash Inc., will walk through the shifting landscape of traditional telephone a...
SYS-CON Events announced today that SOA Software, an API management leader, will exhibit at SYS-CON's 15th International Cloud Expo®, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. SOA Software is a leading provider of API Management and SOA Governance products that equip business to deliver APIs and SOA together to drive their company to meet its business strategy quickly and effectively. SOA Software’s technology helps businesses to accelerate their digital channels with APIs, drive partner adoption, monetize their assets, and achieve a...
Almost everyone sees the potential of Internet of Things but how can businesses truly unlock that potential. The key will be in the ability to discover business insight in the midst of an ocean of Big Data generated from billions of embedded devices via Systems of Discover. Businesses will also need to ensure that they can sustain that insight by leveraging the cloud for global reach, scale and elasticity.
SYS-CON Events announced today that Red Hat, the world's leading provider of open source solutions, will exhibit at Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Red Hat is the world's leading provider of open source software solutions, using a community-powered approach to reliable and high-performing cloud, Linux, middleware, storage and virtualization technologies. Red Hat also offers award-winning support, training, and consulting services. As the connective hub in a global network of enterprises, partners, a...
Internet of @ThingsExpo Silicon Valley announced on Thursday its first 12 all-star speakers and sessions for its upcoming event, which will take place November 4-6, 2014, at the Santa Clara Convention Center in California. @ThingsExpo, the first and largest IoT event in the world, debuted at the Javits Center in New York City in June 10-12, 2014 with over 6,000 delegates attending the conference. Among the first 12 announced world class speakers, IBM will present two highly popular IoT sessions, which will take place November 4-6, 2014 at the Santa Clara Convention Center in Santa Clara, Calif...
WebRTC defines no default signaling protocol, causing fragmentation between WebRTC silos. SIP and XMPP provide possibilities, but come with considerable complexity and are not designed for use in a web environment. In his session at Internet of @ThingsExpo, Matthew Hodgson, technical co-founder of the Matrix.org, will discuss how Matrix is a new non-profit Open Source Project that defines both a new HTTP-based standard for VoIP & IM signaling and provides reference implementations.

SUNNYVALE, Calif., Oct. 20, 2014 /PRNewswire/ -- Spansion Inc. (NYSE: CODE), a global leader in embedded systems, today added 96 new products to the Spansion® FM4 Family of flexible microcontrollers (MCUs). Based on the ARM® Cortex®-M4F core, the new MCUs boast a 200 MHz operating frequency and support a diverse set of on-chip peripherals for enhanced human machine interfaces (HMIs) and machine-to-machine (M2M) communications. The rich set of periphera...

SYS-CON Events announced today that Aria Systems, the recurring revenue expert, has been named "Bronze Sponsor" of SYS-CON's 15th International Cloud Expo®, which will take place on November 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Aria Systems helps leading businesses connect their customers with the products and services they love. Industry leaders like Pitney Bowes, Experian, AAA NCNU, VMware, HootSuite and many others choose Aria to power their recurring revenue business and deliver exceptional experiences to their customers.
The Internet of Things (IoT) is going to require a new way of thinking and of developing software for speed, security and innovation. This requires IT leaders to balance business as usual while anticipating for the next market and technology trends. Cloud provides the right IT asset portfolio to help today’s IT leaders manage the old and prepare for the new. Today the cloud conversation is evolving from private and public to hybrid. This session will provide use cases and insights to reinforce the value of the network in helping organizations to maximize their company’s cloud experience.
The Internet of Things (IoT) is making everything it touches smarter – smart devices, smart cars and smart cities. And lucky us, we’re just beginning to reap the benefits as we work toward a networked society. However, this technology-driven innovation is impacting more than just individuals. The IoT has an environmental impact as well, which brings us to the theme of this month’s #IoTuesday Twitter chat. The ability to remove inefficiencies through connected objects is driving change throughout every sector, including waste management. BigBelly Solar, located just outside of Boston, is trans...
SYS-CON Events announced today that Matrix.org has been named “Silver Sponsor” of Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Matrix is an ambitious new open standard for open, distributed, real-time communication over IP. It defines a new approach for interoperable Instant Messaging and VoIP based on pragmatic HTTP APIs and WebRTC, and provides open source reference implementations to showcase and bootstrap the new standard. Our focus is on simplicity, security, and supporting the fullest feature set.
Predicted by Gartner to add $1.9 trillion to the global economy by 2020, the Internet of Everything (IoE) is based on the idea that devices, systems and services will connect in simple, transparent ways, enabling seamless interactions among devices across brands and sectors. As this vision unfolds, it is clear that no single company can accomplish the level of interoperability required to support the horizontal aspects of the IoE. The AllSeen Alliance, announced in December 2013, was formed with the goal to advance IoE adoption and innovation in the connected home, healthcare, education, aut...
SYS-CON Events announced today that Red Hat, the world's leading provider of open source solutions, will exhibit at Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Red Hat is the world's leading provider of open source software solutions, using a community-powered approach to reliable and high-performing cloud, Linux, middleware, storage and virtualization technologies. Red Hat also offers award-winning support, training, and consulting services. As the connective hub in a global network of enterprises, partners, a...
The only place to be June 9-11 is Cloud Expo & @ThingsExpo 2015 East at the Javits Center in New York City. Join us there as delegates from all over the world come to listen to and engage with speakers & sponsors from the leading Cloud Computing, IoT & Big Data companies. Cloud Expo & @ThingsExpo are the leading events covering the booming market of Cloud Computing, IoT & Big Data for the enterprise. Speakers from all over the world will be hand-picked for their ability to explore the economic strategies that utility/cloud computing provides. Whether public, private, or in a hybrid form, clo...