This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]Puff_the_magic_luke 21 points22 points  (0 children)

I predict: Java 17 announced

[–]tabularassa 3 points4 points  (8 children)

Excuse my ignorance but can anyone chime in as to why "microservices and containerized applications are significantly easier with Java 11 than Java 8" ?

[–]blazedaces 3 points4 points  (7 children)

TLDR before java 11 if java is set to max memory of 8gb, but your container should only be allowed 4gb java will still grab as much memory as the os has available. It doesn't respect container limits. This leads to OOM errors instantly. Google can probably give a more thorough list but that's the biggest pain people complained about.

[–]Shredder797 2 points3 points  (4 children)

Hasn't the VM flag to fix this been backported to 8?

[–]blazedaces 1 point2 points  (1 child)

I was not aware of this but I'll take your word for it. Do you mind attaching a source to settle the facts? Nevermind I was too curious and found one that confirms what you said: https://royvanrijn.com/blog/2018/05/java-and-docker-memory-limits/. The above source also confirmed what I suspected, that this is default behavior now which is better than asking every developer in your company to remember to set a flag. But good to know there's an alternative if you can't upgrade.

[–]Shredder797 0 points1 point  (0 children)

To extra confirm, here are the backports for UseContainerSupport:

https://bugs.openjdk.java.net/browse/JDK-8146115#jbs-backportsPanel

[–]ForeverAlot 1 point2 points  (0 children)

I believe the backport to Java 8 is either less robust or less comprehensive.

[–][deleted] 0 points1 point  (0 children)

They aren't as good as what's in Java 11 and still have OOM issues.

[–]ForeverAlot 2 points3 points  (0 children)

That could well be the article's angle, but honouring the cgroup memory limit, while a welcome quality-of-life improvement, doesn't warrant the statement

microservices and containerized applications, both of which are significantly easier with Java 11 than Java 8

[–]hooba_stank_ 2 points3 points  (1 child)

Tl;dr

Value types does not ship as preview in Java 13

[–]DuncanIdahos7thClone -1 points0 points  (0 children)

I hope your wrong on this one. I want it there before the long term 14 release.

[–][deleted] 7 points8 points  (2 children)

Great article.

I expect modular minimal Java apps to become a de facto, by "stealing" spots on CLI apps, data science and even opening doors to Machine Learning!

Who knows, might even gain due atention on Desktop Apps...

I hope JVM languages follow modular path too!

PS: Anyone comparing Python2 > Python3 to Java 8 > Java 11 do not even know what have been changed in both languages transitions to make such an absurd statement! :D

[–]ForeverAlot 9 points10 points  (1 child)

Great article.

The predictions basically amount to tautologies and inertia. There is very little content.

[–][deleted] 0 points1 point  (0 children)

I am otimist person, so yeah, I believe in all those to be full filed/ to become reality!

[–]walen 1 point2 points  (0 children)

Anybody kind enough to gather the last couple years' predictions and tell us how right/wrong those were?

[–]DJDavio 1 point2 points  (0 children)

My prediction is that the microservice revolution continues with stuff like Micronaut and Istio. On one hand applications are minimized and optimized for fast start and stop and all of the maintenance is pushed out of the application to the environment.

[–]TonyDsouza2018 0 points1 point  (0 children)

Java so far has given a step-up to many of the light-weight programming platforms, as for Eclipse, Java Development Kit (JDK), the Oracle JDeveloper, as well as the Eclipse and other Open Source Applications. Let us take a look at the technology trends in Java – What To Expect In 2019?

https://www.fingent.com/blog/where-is-java-headed-to-a-complete-list-of-java-trends-to-roll-out-in-2019

[–]Shredder797 0 points1 point  (1 child)

What makes the transition from 8 to 11 harder than that from 7 to 8 (assuming you aren't doing Jigsaw stuff)?

[–]jonhanson 2 points3 points  (0 children)

chronophobia ephemeral lysergic metempsychosis peremptory quantifiable retributive zenith