2017 has been a turbulent year in the Java world. The long-awaited release of Java 9 brought a lot of changes and interesting new features, and Oracle announced a new release schedule for the JDK. And that was just the beginning. Download JDK 10, a development environment for building applications. Please visit our Java SE Downloads page to get the current version of Java SE. Download Java JRE 8 Update 152 (32-bit) latest version 2019 free for windows 10, Windows 7, Windows 8/8.1 and Windows XP. Full offline setup installer updated 2017-10-18 free download. Download safe and virus free setup without any 3rd party installers or ads. In the past, developers often complained that wasn’t developing fast enough. I don’t think you will hear these complaints in the near future. It might be quite the opposite. What’s in store for 2018 In 2018, the JDK will follow a new release schedule. Instead of a huge release every few years, you will get a smaller one every six months. So, after the release of in September 2017, Java 10 is already planned for March 2018. But more about that later. Enterprise Stack Overview Most enterprise projects don’t use the JDK alone. They also rely on a stack of enterprise libraries, like Spring Boot or Java EE, which will also evolve over the next several months. In this article, I will mostly focus on the JDK. But here is a quick overview of what you should expect from the two major enterprise stacks in the Java world. The Spring development team is working hard on Spring Boot 2 and in January. The team doesn’t expect any major API changes and doesn’t plan to add any new features until the final release. So, if you are using in your projects, it’s about time to take a closer look at the new version and to plan the updates of your existing Spring Boot applications. At the end of 2017, Oracle started to hand over the Java EE specifications to the managed by the Eclipse Foundation. As expected, such a transfer is a huge project which can’t be completed in a few days. There is a lot of organizational and technical work that still needs to be done. Java EE needs a new name and development process. And the transfer of the source code and all the artifacts stored in different bug trackers is still ongoing. We will have to wait a little bit longer before we can see the effects of the transfer and the stronger community participation. Short JDK release and support cycles As announced last year, Oracle will release two new JDK versions in 2018. Instead of the slow release cycle where every few years produced a new major release with lots of changes, we will now get a smaller feature release every six months. This allows for faster innovation of the Java platform. It also reduces the associated risks of a Java update. For Java developers, these smaller releases will also make it a lot easier to get familiar with the latest changes and to apply them to our projects. Professional voice changer software. I expect this to be a very positive change for the Java world. It will add a new dynamic to the development of the Java language, and allows the JDK team to adapt and innovate a lot faster. Changes and new features in JDK 10 Due to the short release cycle, Java 10 only brings a small set of changes. You can get an overview of the currently included 12 JEPs (JDK Enhancement Proposal) on the OpenJDK’s page. The most notable change is probably the support for type inference of local variables (). But you should also know about the new time-based release versioning (), and parallel full GC (garbage collector) support added to G1, or Garbage First (). Type inference JDK 10 will finally introduce type inference to the Java language. Most other statically-typed languages have been supporting this feature for quite a while, and a lot of Java developers have been asking for it. Introduces the keyword var, which shortens the declaration of a local variable. It tells the compiler to infer the type of the variable from its initializer. So, instead of: List paramNames = List.of('host.name', 'host.port'); Configuration config = initializeConfig(paramNames); you will be able to write: var paramNames = List.of('host.name', 'host.port'); var config = initializeConfig(paramNames); As you can see in the code snippets, the keyword var removes the redundancy from the variable declaration. This can make your code easier to read, especially if you use good variable names and if it’s a variable that you only use a few times directly after you declared it. If you want to dive deeper into JEP 286 and when you should use it, I recommend you take a look at Nicolai Parlog’s very detailed article about.
0 Comments
Leave a Reply. |