The Java VM HotSpot is now well over two decades old. Since then, the world of software development has changed a lot. Is it time to send HotSpot into retirement? For a long time now, Oracle Labs have been working on a new compiler for the JVM, which should be polyglot and high-performance.
What can you do in Scala that you can’t do in Java? In this JAX London 2018 session recording by Christopher Batey you will discover all the things you need to know about Scala and the way it is being used in contemporary projects. Programing languages are exciting - Watch this video to discover new features and new ideas!
Yes, you read it correctly, there are alternatives. Although the top dog Spring is enjoying great popularity with Java applications, we should not forget that there are also other frameworks worth taking a look at. Here we’ll be talking about Micronaut, a relatively new framework, but one that offers some interesting features that make it a real rival to Spring, especially in the cloud environment. In this article, we will implement an application using Spring Boot and then using Micronaut. Then, we will compare the two approaches and see where each framework is superior to the other.
The switch case expressions in Java go back pretty much to the beginnings of the programming language. It was basically a compromise in language design to make it easier for C++ developers to switch to Java. Relics like break and fall-through were not very intuitive and caused a lot of errors. In addition, the case statement was very limited regarding the notation of the values. Fortunately, this all changes with Java 12. The syntax has been slightly modified to allow specifying one expression and multiple values. In this way, case differences can be formulated much more elegantly.
The developer world is fast and constantly changing. Find out what Quentin Adam has to say about keeping up with the new Java cycle and why the language’s future has never looked brighter.