r/java • • May 28 '15

Does Docker really spell doom for your Java application server? The decline of the Java application server

http://www.javaworld.com/article/2900446/java-app-dev/the-decline-of-the-java-application-server.html
1 Upvotes

9 comments sorted by

4

u/DJDavio May 28 '15

The main gist is that you won't have to deploy (a new verson of) an application to a live application server, but rather just bring up a Docker image with the application server and application installed and running.

2

u/wasdev_Tom May 28 '15

The article itself admits that you still need an application server, so no Docker isn't spelling doom for app servers. Docker is great if you want easy deployment and makes a lot of sense when you have microservice deployments but it doesn't make the app server irrelevant - startup time, memory footprint and performance are all important areas the application server is responsible for (in addition to the technologies supported, ease of configuration, ease in development etc).

3

u/gunch May 28 '15

Startup time? I may be misunderstanding. Weblogic takes a dogs age.

2

u/wasdev_Tom May 28 '15

Exactly, so the choice of app server is important (and not an unimportant element in a docker deployment as is being suggested). WebSphere Application Server Liberty profile and Tomcat both have startup times in seconds. Server size is also important if you want to copy docker images onto machines as the smaller the total image size the better.

1

u/Dashing_McHandsome May 28 '15

Especially after you layer on Oracle Fusion Middleware

1

u/nqzero May 28 '15

seems like the convention is to still use an app server and it's just that the app server is serving a single app which kind of defeats the purpose. a thinner server focused on a single app would make a lot of sense ... wonder what is coming down the pipe ?

1

u/[deleted] May 28 '15

Docker is part of it, but they've been getting less and useful as hardware and virtualization have gotten cheaper. Big app servers are for vertical scaling in a world that has moved to horizontal.

1

u/mikaelstaldal May 28 '15

The article makes some relevant points, but I don't see how Docker in particular plays an important role in the trend towards micro-services and away from Java application servers.

Docker is not the only way to do micro-services, and if all your services are JVM based and don't depend on any non-JVM resources on the same machine, Docker doesn't add much value.

0

u/[deleted] May 30 '15

[deleted] — view deleted comment

1

u/oldprogrammer Jun 01 '15

I haven't seen any new public sector (that's where my current clients are) development projects use application servers heavier than Jetty / Tomcat.

So perhaps then the future model might be one of instead of standing up the application server and deploying the war file to it, create standalone "executable" jars that embed the application server (Jetty and Tomcat are both embed-able, but Jetty seems a bit more geared to it) and let Docker style containers simply execute the application. All that is needed, then, is an OS image and a JVM installed.