Welcome!

.NET Authors: Trevor Parsons, Peter Silva, Yeshim Deniz, Pat Romanski, Adine Deford

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
The definition of IoT is not new, in fact it’s been around for over a decade. What has changed is the public's awareness that the technology we use on a daily basis has caught up on the vision of an always on, always connected world. If you look into the details of what comprises the IoT, you’ll see that it includes everything from cloud computing, Big Data analytics, “Things,” Web communication, applications, network, storage, etc. It is essentially including everything connected online from hardware to software, or as we like to say, it’s an Internet of many different things. The difference ...
Cloud Expo 2014 TV commercials will feature @ThingsExpo, which was launched in June, 2014 at New York City's Javits Center as the largest 'Internet of Things' event in the world.
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...

ARMONK, N.Y., Nov. 20, 2014 /PRNewswire/ --  IBM (NYSE: IBM) today announced that it is bringing a greater level of control, security and flexibility to cloud-based application development and delivery with a single-tenant version of Bluemix, IBM's platform-as-a-service. The new platform enables developers to build ap...

The major cloud platforms defy a simple, side-by-side analysis. Each of the major IaaS public-cloud platforms offers their own unique strengths and functionality. Options for on-site private cloud are diverse as well, and must be designed and deployed while taking existing legacy architecture and infrastructure into account. Then the reality is that most enterprises are embarking on a hybrid cloud strategy and programs. In this Power Panel at 15th Cloud Expo (http://www.CloudComputingExpo.com), moderated by Ashar Baig, Research Director, Cloud, at Gigaom Research, Nate Gordon, Director of T...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at Internet of @ThingsExpo, James Kirkland, Chief Architect for the Internet of Things and Intelligent Systems at Red Hat, described how to revolutioniz...
Technology is enabling a new approach to collecting and using data. This approach, commonly referred to as the "Internet of Things" (IoT), enables businesses to use real-time data from all sorts of things including machines, devices and sensors to make better decisions, improve customer service, and lower the risk in the creation of new revenue opportunities. In his General Session at Internet of @ThingsExpo, Dave Wagstaff, Vice President and Chief Architect at BSQUARE Corporation, discuss the real benefits to focus on, how to understand the requirements of a successful solution, the flow of ...
The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, and physical persons. In the IoT vision, every new "thing" - sensor, actuator, data source, data con...
"BSQUARE is in the business of selling software solutions for smart connected devices. It's obvious that IoT has moved from being a technology to being a fundamental part of business, and in the last 18 months people have said let's figure out how to do it and let's put some focus on it, " explained Dave Wagstaff, VP & Chief Architect, at BSQUARE Corporation, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Focused on this fast-growing market’s needs, Vitesse Semiconductor Corporation (Nasdaq: VTSS), a leading provider of IC solutions to advance "Ethernet Everywhere" in Carrier, Enterprise and Internet of Things (IoT) networks, introduced its IStaX™ software (VSC6815SDK), a robust protocol stack to simplify deployment and management of Industrial-IoT network applications such as Industrial Ethernet switching, surveillance, video distribution, LCD signage, intelligent sensors, and metering equipment. Leveraging technologies proven in the Carrier and Enterprise markets, IStaX is designed to work ac...
"There is a natural synchronization between the business models, the IoT is there to support ,” explained Brendan O'Brien, Co-founder and Chief Architect of Aria Systems, in this SYS-CON.tv interview at the 15th International Cloud Expo®, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
C-Labs LLC, a leading provider of remote and mobile access for the Internet of Things (IoT), announced the appointment of John Traynor to the position of chief operating officer. Previously a strategic advisor to the firm, Mr. Traynor will now oversee sales, marketing, finance, and operations. Mr. Traynor is based out of the C-Labs office in Redmond, Washington. He reports to Chris Muench, Chief Executive Officer. Mr. Traynor brings valuable business leadership and technology industry expertise to C-Labs. With over 30 years' experience in the high-tech sector, John Traynor has held numerous...
Bit6 today issued a challenge to the technology community implementing Web Real Time Communication (WebRTC). To leap beyond WebRTC’s significant limitations and fully leverage its underlying value to accelerate innovation, application developers need to consider the entire communications ecosystem.
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. 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 devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades.
The Internet of Things is not new. Historically, smart businesses have used its basic concept of leveraging data to drive better decision making and have capitalized on those insights to realize additional revenue opportunities. So, what has changed to make the Internet of Things one of the hottest topics in tech? In his session at @ThingsExpo, Chris Gray, Director, Embedded and Internet of Things, discussed the underlying factors that are driving the economics of intelligent systems. Discover how hardware commoditization, the ubiquitous nature of connectivity, and the emergence of Big Data 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 Windstream, a leading provider of advanced network and cloud communications, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Windstream (Nasdaq: WIN), a FORTUNE 500 and S&P 500 company, is a leading provider of advanced network communications, including cloud computing and managed services, to businesses nationwide. The company also offers broadband, phone and digital TV services to consumers primarily in rural areas.
SYS-CON Events announced today that IDenticard will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. IDenticard™ is the security division of Brady Corp (NYSE: BRC), a $1.5 billion manufacturer of identification products. We have small-company values with the strength and stability of a major corporation. IDenticard offers local sales, support and service to our customers across the United States and Canada. Our partner network encompasses some 300 of the world's leading systems integrators and security s...
IoT is still a vague buzzword for many people. In his session at @ThingsExpo, Mike Kavis, Vice President & Principal Cloud Architect at Cloud Technology Partners, discussed the business value of IoT that goes far beyond the general public's perception that IoT is all about wearables and home consumer services. He also discussed how IoT is perceived by investors and how venture capitalist access this space. Other topics discussed were barriers to success, what is new, what is old, and what the future may hold. Mike Kavis is Vice President & Principal Cloud Architect at Cloud Technology Pa...
Cloud Expo 2014 TV commercials will feature @ThingsExpo, which was launched in June, 2014 at New York City's Javits Center as the largest 'Internet of Things' event in the world. The next @ThingsExpo will take place November 4-6, 2014, at the Santa Clara Convention Center, in Santa Clara, California. Since its launch in 2008, Cloud Expo TV commercials have been aired and CNBC, Fox News Network, and Bloomberg TV. Please enjoy our 2014 commercial.