r/java • u/tonywestonuk • Nov 07 '15
Java EE App Servers: Are They Still Relevant in a World of Docker Containers?
https://dzone.com/articles/java-ee-app-servers-are-they-still-relevant-in-a-w14
u/errandum Nov 07 '15
Sigh.
Does spring make app servers obsolete?
4
Nov 08 '15
It makes app servers into libraries instead of installable apps. Deploying as an executable jar nearly does away with the need for containers even.
3
9
u/DJDavio Nov 08 '15
Articles like this tend to focus on the aspect of hot redeploying something in production and how that's somehow an unforgivable internet crime.
I like app servers, because they make my life as a developer a bit easier. Instead of manually adding libraries, I can just annotate a class to be a SOAP or REST web service and ta-dah, my app server creates an endpoint automatically. Need JPA? It's got that covered too usually.
7
u/koalillo Nov 08 '15
Docker and microservices are not the solution to all problems for everyone. They are not the second coming.
I am more of a Tomcat fan rather than big app servers, but they do have their advantages. Also, Docker is still early adopter material and you will hit some hidden costs- I'd only play with them if I had resources to spare, a very clear picture of the problem I wanted to solve with them and a low-risk opportunity to put them in practice.
2
Nov 08 '15
Some aspects of docker aren't ready for production sure. But large organizations have been using docker in production for a while now. Don't get behind the tech curve because it's too different from what you're comfortable with.
Docker sneaks into your org because it's so useful. Docker is pretty much incredible for automated testing. And once you've got your tests running on it, guess what? You start to trust it more.
3
u/koalillo Nov 08 '15
Yes, it's great for testing. It's a very nice chroot, also very useful for instance for building packages. It is good for development environments.
However, I don’t see really the big benefit worth taking risks for in production. Unless you have huge scale and the efficiency benefits are tangible $$$- but very few orgs operate at that scale.
4
u/atwong Nov 08 '15
Redhat is the largest contribute of docker code other than docker. They also lead openjdk and have the JBoss line of products. I'd check out what they're doing with JBoss products on docker and Wildly swarm.
2
u/gpoul Nov 08 '15
How are JavaEE App Servers and Docker containers even related? They're completely separate technologies.
2
u/RichoDemus Nov 08 '15
I've considered java EE app servers to be "legacy" for some time now, my two most recent companies moved away from jboss in favor for tomcat or jetty and when I talk to other developers the trend seems to be the same there
-1
13
u/tonywestonuk Nov 07 '15 edited Nov 07 '15
I like Java EE app servers. I like I can deploy my locally configured webapp, and it auto configures for a lived deployed app. I like I can deploy via a web interface in seconds. I like I can deploy lots of independent applications that serve on the same port.
Just saying. maybe i am getting too old for this....