|By S Sangeetha||
|December 12, 2012 06:30 AM EST||
The Java Platform Enterprise Edition 7 specification early draft is available for download. All these years the focus was to introduce several APIs and technologies as part of the platform to make it more powerful, simple and complete. This is the first time the focus has shifted in a completely different direction - to bring in something new to the platform, apart from the enhancements to the existing technologies. In this article, we'll look at how Java EE evolved, became a major platform specification and understand the direction in which it is moving forward.
Java EE - Past
A brief look at the history of the Java EE - Java Platform Enterprise Edition specification reveals that every major release of the specification has been driven by a major theme.
A look at the specification details reveals that the theme for the first release of the specification J2EE 1.2 was to bring all enterprise specifications like Servlet, JSP, EJB, RMI, IIOP under one umbrella of specifications, the focus was to introduce support for distributed computing systems that reduce cost and complexity. The next release of the specification J2EE 1.3 was merely an enhancement to the J2EE 1.2 specification without any specific theme as such. Connector API, JMS Provider and Container Managed Persistence beans are prominent inclusions.
The theme for the next release, J2EE 1.4 was the support for Web Services. APIs supporting basic Web Services interoperability (like XML APIs) and support for tools for management and deployment were introduced. Even though J2EE platform addressed all the major requirements for developing, deploying and managing enterprise applications, the ‘Complexity' in programming business components and performance of the persistence tier remained the pain points of the J2EE platform.
So, Simplification and ease of development was the major focus in the next release - Java EE 5. Also the platform carried the new name- Java Platform for Enterprise Edition or Java EE in short. Annotation based programming made development lot easier and really addressed the issue of ‘Complexity'. Java EE 5 makes extensive use of annotations.
The main goal of the next release of specification Java EE 6 platform was to support all technologies and framework and still continue to simplify the platform - through three interesting features: Extensibility, Profiles and Pruning. Support for RESTful Web Services was also an important inclusion in this release.
- Extensibility - Is a mechanism which provides a way to include additional technologies and frameworks that are not part of the standard platform.
- Profiles - Are created from Java EE APIs which will have reference to Java EE platform standard specification but on top of it, will include a sub set of Java EE Platform technologies and make the platform lightweight.
- Pruning - Is an interesting concept, the Java EE technologies which are not relevant today (outdated- like JAX-RPC), whichever have been replaced by new set of technologies (like Entity Beans), technologies not supported well (like Deployment API) and technologies not widely deployed can be marked for removal from the platform.
Figure 1: History of Java EE
Java EE - Present
The next major release of Java EE platform is Java EE 7. The early draft is already made available for download and the final draft is expected to be released in Q1, 2013. The big focus of the platform is getting Java applications into cloud; make Java EE Platform suitable for Cloud environments. Emphasis of this specification is on cloud computing, emerging web technologies and continued improvements in ease of development. After a long gap, JMS API is expected to undergo a big overhaul. The Java EE platform provides services and developers are able to use services and consume them in a declarative manner. The main objective of the Java EE 7 platform is the platform itself becoming a service.
Java EE 7 has two primary focus areas:
- HTML 5
Java EE platform's container based model is well suited for Cloud environments. It is quite easy for Java EE 7 products to take the benefits of cloud environment and operate on private and public clouds and deliver their services with the help of multitenancy and elasticity. Applications deployed on the Cloud can be used by multiple tenants, however the security, isolation and QoS are guaranteed. Since container is managing the external resources like relational databases, it becomes easy for this model to be enhanced to support cloud.
The main theme would be enabling PaaS with application servers and multi-tenancy support, facilitating customers to leverage complete range of clouds - public, private and hybrid. This can be achieved by introducing new platform roles, metadata descriptor and APIs to support PaaS execution environment like multi-tenancy, resource-sharing, quality of service, elasticity and scalability. The main theme is to easily run applications on private and public clouds.
To support cloud model in the platform, most of the technologies part of this specification will get updated. Specifically, resource manager related APIs like JPA, JDBC and JMS will be updated to enable multitenancy.
Java EE 7 Platform will have first class support for some the recent developments in web space including HTML5 and Web Sockets. Plans are there to include HTTP Client API to support REST based Web Services.
Apart from Cloud and HTML 5 support, plans are there to include several new features discussed below as part of the platform.
Figure 2: Java EE 7 New Features
JCache (JSR 107)
JCache is a standardized caching API to enable scaling of enterprise applications through a caching layer accessible to all containers.
Concurrency Utilities for Java EE (JSR 236)
Extends the Concurrency API in Java SE and provides support for transaction aware and context aware APIs for asynchronous tasks.
Java API for JSON Processing (JSR 353)
A standardized Java API for parsing, generating, transforming and querying JSON. JSON is the lightweight data-interchange format popularly used in Web services for sending and receiving data particularly in RESTful Web Services. Due to non-availability of standardized Java API, different implementation libraries are used to produce/consume JSON response from Web services. The goal of this specification is to develop standardized Java API that will
- Produce and Consume JSON text in a streaming way much similar to StAX
- Build a Java Object model for JSON text using API classes much similar to DOM
However binding of JSON text to Java Objects and vice versa is also on the agenda.
Java API for WebSocket (JSR 356)
This is a standard API for creating WebSocket applications. WebSocket protocol is becoming a default standard for browsers building HTTP based applications like polling, long-polling and HTTP-streaming. This specification will provide support for WebSocket in Java EE platform for creating WebSocket for bi-directional WebSocket conversations, initiating and intercepting WebSocket events, creation and consumption of WebSocket text and binary message and working of WebSocket application within Java EE security model.
Update to Web Profile and Pruning
Java Enterprise Edition Web Profile will have JAX-RS 2.0 added to its existing set of technologies.
Some of the technologies which are outdated or not in use will be made optional as defined by the pruning process in the earlier specification (Java EE 6). Probable candidates for pruning in this release are:
- EJB Entity Beans
- JAX-RPC 1.1
- JAXR 1.0
Apart from the primary focus areas, Java EE 7 Platform has updates to the following technologies. Ease of development is the focus in all of the APIs mentioned below which have an enhancement.
- Java Persistence API (JPA)
- Multi-tenancy support
- Support for stored procedures
- Support for Schema generation
- Update and Delete Criteria queries
- Persistence Context synchronization
- Java API for RESTful Web Services (JAX-RS)
- New standardized Client API
- Support for Hypermedia
- Bean Validation API in JAX-RS for form and query parameters
- Support for Asynchronous processing
- JavaServer Faces (JSF)
- Support for HTML 5 Forms, headings and section content model and metadata
- New Components like FileUpload, BackButton etc.
- Portlet Integration
- Support for NIO.2 APIs
- Support for Async I/O
- Simplified asynchronous Servlets
- Support for Java EE Concurrency Utilities
- Support for HTML 5
- Support for Web Sockets
- Support for Cloud (PaaS model for Web applications)
- Enterprise JavaBeans (EJB)
- Support for Cloud (Support PaaS - multi-tenancy)
- Enhanced Interceptors
- Simplified programming model thru' usage of annotations
- BMP /CMP
- Web Services using JAX-RPC
- Expression Language (EL)
- Standalone JSR
- Criteria based Collection selection
- New operators
- Java Message Service (JMS - Most mature specification, undergoing a change after 10 years - April 2002)
- Support for Cloud (Multi-tenancy and other cloud features required...)
- Pluggable JMS provider
- Modest Scope
- Context and Dependency Injection (CDI)
- Life cycle events
- Injection of static variables
- Declarative package scanning
- Bean Validation
- Integration with other JSRs like JAX-RS, JAXB, JPA, CDI, EJB and JSF
- Method-level validation
- Constraint Composition
Java EE 7 Platform
Java Persistence API (JPA)
Java API for RESTful Web Services (JAX-RS)
Java ServerFaces (JSF)
Enterprise JavaBeans (EJB)
Expression Language (EL)
Java Message Service (JMS)
Context and Dependency Injection (CDI)
Table 1: Java EE 7 - Enhancements to Technologies
Java EE - Future
Support for modularity and versioning capabilities will be included in the future version. This depends on the modularity work happening on Java SE. Release of Java SE 8 will have an alignment with modularity feature in Java EE specification.
As per the latest press release a major disappointment comes on the release of the Java EE 7 specification. As per the blogspot of Linda DeMichiel- the specification lead for Java EE platform 7, the project will be delayed for another year if support for PaaS environment and multi-tenancy has to be included. So the complete support for PaaS enablement and multi-tenancy will see the light only during the next release of Java EE - Java EE 8.
Linda DeMichiel wrote on her blog - "Partially this has been due to a lack of maturity in the space for provisioning, multi-tenancy, elasticity, and the deployment of applications in the cloud. And partially it is due to our conservative approach in trying to get things "right" in view of limited industry experience in the cloud area when we started this work. Because of this, we believe that providing solid support for standardized PaaS-based programming and multi-tenancy would delay the release of Java EE 7 until the spring of 2014 - that is, two years from now and over a year behind schedule. In our opinion, that is way too long.
We have therefore proposed to the Java EE 7 Expert Group that we adjust our course of action - namely, stick to our current target release dates, and defer the remaining aspects of our agenda for PaaS enablement and multi-tenancy support to Java EE 8.".
However there are vendors like Red Hat and CloudBees who already support some parts of Java EE specifications in the Cloud environment. Experience of the vendors in this area will help in standardization of the specification better.
With the cloud support removed, Java EE 7 loses the most prominent feature, but still tries to make the release interesting with lot of additions and enhancements to existing APIs like Client APIs in JAX-RS, updated JMS API, and support for HTML 5 and updates to EL, JPA, CDI and JSF.
So the belief is Java EE 8 will provide full standardization support for cloud although the current version might not be completely ready. So "PaaS enablement and support for SaaS model" and "Modularity" will be two interesting features to look out for in the future version of the Java Platform Enterprise Edition- Java EE 8.
The contents represented in this article are purely the author's view.
The author would like to acknowledge and sincerely thank Mr. SV Subrahmanya, VP, E&R for the idea, guidance, support and constant encouragement and Mr. Piram Manickam, Senior Architect for his valuable suggestions and review.
- JCP - JSR 342: Java EE 7 (http://www.jcp.org/en/jsr/proposalDetails?id=342)
- JCP - Concurrency Utilities for Java EE (http://www.jcp.org/en/jsr/detail?id=236 )
- JCP - JCache (http://www.jcp.org/en/jsr/detail?id=236 )
- Arun Gupta's Blog (https://blogs.oracle.com/arungupta/entry/java_ee_7_key_features )
- Linda DeMichiel' s Blog (https://blogs.oracle.com/theaquarium/entry/java_ee_7_roadmap )
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...
Nov. 21, 2014 07:00 PM EST Reads: 981
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 ...
Nov. 21, 2014 07:00 PM EST Reads: 955
"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.
Nov. 21, 2014 07:00 PM EST Reads: 859
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, a...
Nov. 21, 2014 07:00 PM EST Reads: 792
Leysin American School is an exclusive, private boarding school located in Leysin, Switzerland. Leysin selected an OpenStack-powered, private cloud as a service to manage multiple applications and provide development environments for students across the institution. Seeking to meet rigid data sovereignty and data integrity requirements while offering flexible, on-demand cloud resources to users, Leysin identified OpenStack as the clear choice to round out the school's cloud strategy. Additional...
Nov. 21, 2014 07:00 PM EST Reads: 670
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 Ar...
Nov. 21, 2014 07:00 PM EST Reads: 629
The 4th International DevOps Summit, co-located with16th International Cloud Expo – being held June 9-11, 2015, at the Javits Center in New York City, NY – announces that its Call for Papers is now open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's large...
Nov. 21, 2014 06:45 PM EST Reads: 813
Verizon Enterprise Solutions is simplifying the cloud-purchasing experience for its clients, with the launch of Verizon Cloud Marketplace, a key foundational component of the company's robust ecosystem of enterprise-class technologies. The online storefront will initially feature pre-built cloud-based services from AppDynamics, Hitachi Data Systems, Juniper Networks, PfSense and Tervela. Available globally to enterprises using Verizon Cloud, Verizon Cloud Marketplace provides a one-stop shop fo...
Nov. 21, 2014 05:30 PM EST Reads: 906
Software-driven innovation is becoming a primary approach to how businesses create and deliver new value to customers. A survey of 400 business and IT executives by the IBM Institute for Business Value showed businesses that are more effective at software delivery are also more profitable than their peers nearly 70 percent of the time (1). DevOps provides a way for businesses to remain competitive, applying lean and agile principles to software development to speed the delivery of software that ...
Nov. 20, 2014 11:45 PM EST Reads: 1,279
"Our premise is Docker is not enough. That's not a bad thing - we actually love Docker. At ActiveState all our products are based on open source technology and Docker is an up-and-coming piece of open source technology," explained Bart Copeland, President & CEO of ActiveState Software, in this SYS-CON.tv interview at DevOps Summit at Cloud Expo®, held Nov 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Nov. 20, 2014 10:30 PM EST Reads: 1,178
DevOps Summit 2015 New York, 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 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 to wait for long development cycles that produce software that is obsolete...
Nov. 20, 2014 09:00 PM EST Reads: 1,376
What do a firewall and a fortress have in common? They are no longer strong enough to protect the valuables housed inside. Like the walls of an old fortress, the cracks in the firewall are allowing the bad guys to slip in - unannounced and unnoticed. By the time these thieves get in, the damage is already done and the network is already compromised. Intellectual property is easily slipped out the back door leaving no trace of forced entry. If we want to reign in on these cybercriminals, it's hig...
Nov. 20, 2014 07:00 PM EST Reads: 1,102
Infor has announced a new feature Infor CloudSuite™ Aerospace & Defense (A&D) to aid compliance with International Traffic in Arms Regulations (ITAR). The ITAR function will serve as a complementary function for new or existing Infor CloudSuite A&D customers, to facilitate compliance for Infor customers that are creating a US defense article or performing a US defense service and wish to benefit from cloud-services. The ITAR regulation serves to manage handling and access requirements for dat...
Nov. 20, 2014 07:00 PM EST Reads: 1,249
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.
Nov. 20, 2014 04:45 PM EST Reads: 900
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 th...
Nov. 20, 2014 01:00 PM EST Reads: 1,416
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 ...
Nov. 20, 2014 12:30 PM EST Reads: 1,666
Cochlear Limited, the global leader in implantable hearing solutions, has selected AppZero for easy migration of its Microsoft Windows Server 2003 applications, a major priority for IT organizations before Microsoft ends support on July 14, 2015. AppZero software enables server application migration from old operating systems to new platforms or clouds and has been proven to be ten times faster, more reliable and efficient than alternative approaches.
Nov. 20, 2014 10:24 AM EST Reads: 662
Fundamentally, SDN is still mostly about network plumbing. While plumbing may be useful to tinker with, what you can do with your plumbing is far more intriguing. A rigid interpretation of SDN confines it to Layers 2 and 3, and that's reasonable. But SDN opens opportunities for novel constructions in Layers 4 to 7 that solve real operational problems in data centers. "Data center," in fact, might become anachronistic - data is everywhere, constantly on the move, seemingly always overflowing. Net...
Nov. 20, 2014 07:30 AM EST Reads: 1,243
SYS-CON Media announced today the IBM, which offers the world’s deepest portfolio of technologies and expertise that are transforming the future of work, has launched ad campaigns on SYS-CON’s numerous online magazines such as Cloud Computing Journal, DevOps Journal, Virtualization Journal, and IoT Journal. IBM's campaigns focus on application testing, improving application development processes, common challenges in testing composite applications, continuous testing as part of the DevOps lifec...
Nov. 19, 2014 08:15 PM EST Reads: 1,449