|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 )
With so much going on in this space you could be forgiven for thinking you were always working with yesterday’s technologies. So much change, so quickly. What do you do if you have to build a solution from the ground up that is expected to live in the field for at least 5-10 years? This is the challenge we faced when we looked to refresh our existing 10-year-old custom hardware stack to measure the fullness of trash cans and compactors.
Aug. 25, 2016 01:15 AM EDT Reads: 1,593
This digest provides an overview of good resources that are well worth reading. We’ll be updating this page as new content becomes available, so I suggest you bookmark it. Also, expect more digests to come on different topics that make all of our IT-hearts go boom!
Aug. 25, 2016 12:45 AM EDT Reads: 4,664
The emerging Internet of Everything creates tremendous new opportunities for customer engagement and business model innovation. However, enterprises must overcome a number of critical challenges to bring these new solutions to market. In his session at @ThingsExpo, Michael Martin, CTO/CIO at nfrastructure, outlined these key challenges and recommended approaches for overcoming them to achieve speed and agility in the design, development and implementation of Internet of Everything solutions wi...
Aug. 25, 2016 12:45 AM EDT Reads: 1,898
19th Cloud Expo, taking place November 1-3, 2016, 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. Meanwhile, 94% of enterpri...
Aug. 25, 2016 12:00 AM EDT Reads: 2,956
Cloud Expo 2016 New York at the Javits Center New York was characterized by increased attendance and a new focus on operations. These were both encouraging signs for all involved in Cloud Computing and all that it touches. As Conference Chair, I work with the Cloud Expo team to structure three keynotes, numerous general sessions, and more than 150 breakout sessions along 10 tracks. Our job is to balance the state of enterprise IT today with the trends that will be commonplace tomorrow. Mobile...
Aug. 24, 2016 11:45 PM EDT Reads: 3,137
Sharding has become a popular means of achieving scalability in application architectures in which read/write data separation is not only possible, but desirable to achieve new heights of concurrency. The premise is that by splitting up read and write duties, it is possible to get better overall performance at the cost of a slight delay in consistency. That is, it takes a bit of time to replicate changes initiated by a "write" to the read-only master database. It's eventually consistent, and it'...
Aug. 24, 2016 11:30 PM EDT Reads: 3,068
To leverage Continuous Delivery, enterprises must consider impacts that span functional silos, as well as applications that touch older, slower moving components. Managing the many dependencies can cause slowdowns. See how to achieve continuous delivery in the enterprise.
Aug. 24, 2016 10:30 PM EDT Reads: 1,445
Aug. 24, 2016 09:45 PM EDT Reads: 4,782
Thomas Bitman of Gartner wrote a blog post last year about why OpenStack projects fail. In that article, he outlined three particular metrics which together cause 60% of OpenStack projects to fall short of expectations: Wrong people (31% of failures): a successful cloud needs commitment both from the operations team as well as from "anchor" tenants. Wrong processes (19% of failures): a successful cloud automates across silos in the software development lifecycle, not just within silos.
Aug. 24, 2016 08:15 PM EDT Reads: 1,992
There's a lot of things we do to improve the performance of web and mobile applications. We use caching. We use compression. We offload security (SSL and TLS) to a proxy with greater compute capacity. We apply image optimization and minification to content. We do all that because performance is king. Failure to perform can be, for many businesses, equivalent to an outage with increased abandonment rates and angry customers taking to the Internet to express their extreme displeasure.
Aug. 24, 2016 07:45 PM EDT Reads: 2,346
Right off the bat, Newman advises that we should "think of microservices as a specific approach for SOA in the same way that XP or Scrum are specific approaches for Agile Software development". These analogies are very interesting because my expectation was that microservices is a pattern. So I might infer that microservices is a set of process techniques as opposed to an architectural approach. Yet in the book, Newman clearly includes some elements of concept model and architecture as well as p...
Aug. 24, 2016 07:15 PM EDT Reads: 10,759
A company’s collection of online systems is like a delicate ecosystem – all components must integrate with and complement each other, and one single malfunction in any of them can bring the entire system to a screeching halt. That’s why, when monitoring and analyzing the health of your online systems, you need a broad arsenal of different tools for your different needs. In addition to a wide-angle lens that provides a snapshot of the overall health of your system, you must also have precise, ...
Aug. 24, 2016 06:30 PM EDT Reads: 1,494
SYS-CON Events announced today that Venafi, the Immune System for the Internet™ and the leading provider of Next Generation Trust Protection, will exhibit at @DevOpsSummit at 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Venafi is the Immune System for the Internet™ that protects the foundation of all cybersecurity – cryptographic keys and digital certificates – so they can’t be misused by bad guys in attacks...
Aug. 24, 2016 04:15 PM EDT Reads: 2,555
Monitoring of Docker environments is challenging. Why? Because each container typically runs a single process, has its own environment, utilizes virtual networks, or has various methods of managing storage. Traditional monitoring solutions take metrics from each server and applications they run. These servers and applications running on them are typically very static, with very long uptimes. Docker deployments are different: a set of containers may run many applications, all sharing the resource...
Aug. 24, 2016 03:00 PM EDT Reads: 1,868
Using new techniques of information modeling, indexing, and processing, new cloud-based systems can support cloud-based workloads previously not possible for high-throughput insurance, banking, and case-based applications. In his session at 18th Cloud Expo, John Newton, CTO, Founder and Chairman of Alfresco, described how to scale cloud-based content management repositories to store, manage, and retrieve billions of documents and related information with fast and linear scalability. He addres...
Aug. 24, 2016 02:00 PM EDT Reads: 1,838
The 19th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportuni...
Aug. 24, 2016 12:00 PM EDT Reads: 3,850
DevOps at Cloud Expo – being held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is 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 largest enterprises – and delivering real results. Am...
Aug. 24, 2016 11:45 AM EDT Reads: 3,360
Modern organizations face great challenges as they embrace innovation and integrate new tools and services. They begin to mature and move away from the complacency of maintaining traditional technologies and systems that only solve individual, siloed problems and work “well enough.” In order to build...
SYS-CON Events announced today that eCube Systems, a leading provider of middleware modernization, integration, and management solutions, will exhibit at @DevOpsSummit at 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. eCube Systems offers a family of middleware evolution products and services that maximize return on technology investment by leveraging existing technical equity to meet evolving business needs. ...
Aug. 24, 2016 11:00 AM EDT Reads: 421
DevOps at Cloud Expo, taking place Nov 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 19th Cloud Expo 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 to wait for long dev...
Aug. 24, 2016 11:00 AM EDT Reads: 2,113