Make Java slim again (Container friendly)

Make Java slim again (Container friendly)

In the past we used to develop Java applications with JEE. As JEE has matured, Oracle has in fact given it all away to Eclipse. There is a lot of legacy out there running great on JEE servers like WebLogic but come on, it is time to move on.

Java as a language for developing Enterprise code is great. But many developers are struggling in how to make Java slim and neath, deploy able on immutable docker containers?

And fact of life is that a majority of later code deployed on JEE stacks contains only a fraction of JEE code, it could almost be deployed on a slim Java SE stack.

Oracle has invested heavily in Java, and with JDK 9, 10, 11 and 12, new initiatives has surfaced, like modulations, GraalVM for high performance runtime, alpine support for slim JDK and Jlink for shrinking of Java runtime to a minimum.

If you don't like pay for Java use OpenJDK, that is where the alpine support is.

The latest initiative is Helidon, opensource at helidon.io, but created and supported by Oracle. With the helidon framework you ca create simple netty based microservices, with JAX implemented for JSON support. All without the heavy lifitng JEE stack. Here is a great artcile givig example of how to do a docker, alpine, Java SE, Helidon project, opensoruced:

Oracle Kubernetes Engine cloud service,is a full managed K8S perfect for deploying it without installing a full K8S stack. try it for free here: https://cloud.oracle.com/tryit





要查看或添加评论,请登录

Inge Os的更多文章

社区洞察

其他会员也浏览了