Java EE - the Most Lightweight Enterprise Framework?

December 7, 2016 | 1 minute read
Text Size 100%:

How does Java EE compare to other enterprise frameworks? What criteria make a framework lightweight?

Sebastian Daschner in this new article makes the case that the Java EE platform is lightweight and improves productivity.  He explains how APIs contained in the Java EE umbrella offer a productive and enjoyable developer experience while providing seamless integration with standards such as Contexts and Dependency Injection (CDI), JAX-RS, JSON Processing (JSR 353), and Bean Validation. 

 Real-world applications don’t need a lot of configuration because of the convention-over-configuration driven approach of Java EE. Java EE 7, when used together with Java 8, comes with enough functionality to cover the majority of use cases without any other dependencies.  Java EE is the perfect framework to be used in container technologies such as Docker since the deployment implementation is already contained in the runtime. Sebastian recommends separating business logic from the runtime if possible. This means packaging the application in a WAR file that contains only the application's code. 

In the article’s summary, he recommends:
    •    Using Java EE 7 and Java 8 only with the API being provided
    •    Building a kilobyte-sized WAR file containing only the business logic plus minimal plumbing (such as JAX-RS resources or JPA)
    •    Building a Docker image—adding only a WAR file to a base image containing the configured application server
    •    Shipping via a CD pipeline that deploys the application using containers

Read the full article for a more complete description.

Yolande Poirier

Yolande Poirier manages the online experience for the world's biggest IT community. She empowers developers to successfully grow their projects, businesses, and careers. Telling the story of how people use technology, she curates technical content, interviews IT professionals around the world, and write blogs about Java technologies and projects. She is a speaker at international conferences and JavaOne Rock Star, this year's track lead of the developer community day and a long time member of @jduchess, a network of women in Java. She manages @Java, a network of over 350,000 developer enthusiasts.

Previous Post

Congratulations New Java Champion Attila Szegedi

Yolande Poirier | 1 min read

Next Post

Java EE 8 Overview

Yolande Poirier | 2 min read