Java Application Ecosystem for Enterprise Class Apps

Java has been the platform of choice for Developing Enterprise Grade Applications ever since Java EE was announced. Today, within the Java application ecosystem itself provides three different architectural styles; Java EE for large application development, Spring Framework for MVC based WebApps and Java Micro frameworks for Cloud Container based Micro-Services.

JAVA EE for Large and Medium Enterprise Apps

For a long time, Java Enterprise Edition (Java EE) has been the platform of choice across industries (banking, insurance, retail, hospitality, travel, and telecom, to name a few) for developing and deploying enterprise business applications. This is because Java EE provides a standard-based platform to build robust and highly scalable distributed applications that support everything from core banking operations to airline booking engines. Java EE comes with complete set of frameworks, Utility libraries, integrated development environments (IDEs) etc. Java EE Framework is backed by sound architectural and design principles that go a long way in helping build applications that are easy to maintain, reuse, and extend.

J(2)EE, strictly speaking, is a set of APIs (as the current top answer has it) which enable a programmer to build distributed, transactional systems. The idea was to abstract away the complicated distributed, transactional bits (which would be implemented by a Container such as WebSphere or Web logic), leaving the programmer to develop business logic free from worries about storage mechanisms and synchronization.

JEE 6 Full profile – Full EE features application stack

The JEE Platform Technologies we frequently use are as follows

  • JMS for any messaging need that fall into Point-To-Point or Publish/Subscribe domain.
  • JTA when you need atomic transaction for multiple databases and/or JMS delivery.
  • Standard JAX-RS (RESTful web service API) for exposing external services. Use JSON data exchange format.
  • Consistent Spring IoC for services injection. It’s more flexible and easier to work with in compare to CDI.
  • POJO services and wire by Spring instead of EJB if possible. I found them easier to test and development.

Spring Framework for MVC based Web Apps

Many Applications do not require the complete Java EE feature set if the app is a web MVC application. Spring Framework is one of the very popular lightweight frameworks for developing such apps very quickly on the Java Platform. When writing software, we create and build libraries/framework that can be reuse and help us get things done faster. Spring is such a Swiss-army knife like library that allows application to be built in an un-intrusive way and with many easier wrappers and helpers classes. Spring has a web framework layer to let you write MVC web app, but you still need a Servlet Container (server). Spring provides data layer that mostly wraps other JPA/Hibernate/JDBC that integrate well in their IoC container. Spring wraps JMS and JNDI for development. Spring has a Transaction Manager Abstract layer for atomic transaction on multiple resources (such as JMS and Database, or multiple databases).

Java Micro-Frameworks

The Cloud has completely changed the IT software environments. Docker and similar lightweight containers are making Deployment of Software very easy by abstracting the configurations from the virtual machines and making the development environments and deployment environments the same. DevOps Phenomena is also accelerating this change. In the scenario, even the lightweight frameworks of last five years are looking like bloated.

As a language matures, one unavoidable effect with each release is that well-established libraries grow and swell. After a point, much of the functionality wrapped in those libraries is no longer really needed for most projects. Micro frameworks are an attempt to address this. The idea is to create a focused and agile solution that takes the production process down to its basics.

Micro Java frameworks are essentially a continuation of the lightweight Java frameworks journey. They are the lightest possible way to do Java today. As the new kids on the block, they haven’t been deployed across every type of production environment yet, but the early production deployments have shown strong success.

Some of the Key Java Micro Frameworks which we use in Solutions practice now are:

  • Ninja Framework
  • Spark Micro Framework
  • Jodd

Python for Data Analytics

Python Platform has created a set of libraries and frameworks like Pandas, NumPy, and SciPy which are very powerful and popular in the Data Analytics Community. As there are many programming language options like Scale, R and Python on BigData Platforms like Hadoop and Apache Spark, Python is the programming language of choice for us because Python is a language whose syntax more like Java and can be easily adopted by Enterprise Customers who already have Java Platform as their Core IT infrastructure.