

Java Annotated Monthly – October 2017 | IntelliJ IDEA Blog
source link: https://blog.jetbrains.com/idea/2017/10/java-annotated-monthly-october-2017/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Java Annotated Monthly – October 2017

Table of Contents
Java 9 is here! At long last. This month we have lots of Java 9 content, of course, but that’s actually not the only Big News: not only is Java EE 8 also now available, but we can look forward to a new release of Java every six months. So we’re celebrating Java 9, but we’re already anticipating Java 10. It might not even be called Java 10…

Java 9
Java 9 is out at last! In this section we have links to articles about the release, tutorials and reference documentation for some of the main features, and some commentary on the release and its features.
- Java 9 and IntelliJ IDEA, I (Trisha) wrote this just for you, our wonderful IntelliJ IDEA users.
- Java 9 Expert Insights, short videos from the people who were involved in actually implementing the new features.
- Project Jigsaw: Complete! Mark Reinhold has been waiting a long time to say those words, you can hear the relief from here.
- Migrating Your Project to Jigsaw Step by Step
- Reference Documentation: jlink, to package your deployable application into something much smaller.
- Convenience Factory Methods for Collections, my favourite new feature in Java 9.
- Finally, An Official Shell in Java 9 – Introducing JShell, also check out the excellent Oracle Tutorial on JShell. The REPL is a very interesting new feature in Java 9 and has the potential to change the way we work.
- The Stack Walking API in Java 9, some examples of how to use the new Stack Walking API. See also this older, but much more detailed post, Deep Dive into Java 9’s Stack-Walking API
- 55 New Features in JDK 9, not new, but now is the time to remind yourself of the features (video). Also check out Simon‘s blog posts on Java 9.
- New Java Magazine Issue: More Java 9
- Real World Java 9, updated video & slides of my talk on the features we’ll actually use, plus loads of links to useful Java 9 resources. You can catch this talk live this afternoon in our webinar, or watch the video later.
- Java 9: It’s Heeeere, with links to further info.
- Long Awaited Java 9.0 Releasing This Week, some comments on the key changes in Java 9 and what impact they may have
- Welcome Java 9! Members of the community talk about their favourite features and how Java 9 will impact developers.
Beyond Java 9
Yes, already… and the future is much closer than you thought!
Despite all the Java 9 noise, there were a number of excellent non-Java-9 articles and tutorials this month, although even these have occasional nods to new functionality in Java 9.
- Handling checked exceptions in Java streams, and it’s worth checking out Ken’s new book Modern Java Recipes which will help you use some of the new features in Java 8 and 9 (full disclosure, I wrote the Foreword for the book).
- Ken Kousen on Java, Spring, and Groovy, the author of the above talking about a whole bunch of things that’s relevant to the modern developer (podcast).
- Finally Getting the Most out of the Java Thread Pool
- Why does my code throw a null pointer exception? in the context of writing tests.
- Following OOP principles – hermetization, a look at pre-Java-9 data hiding. Modules, of course, provide an additional mechanism for hiding classes and packages.
- Weak, Soft, and Phantom References in Java (and Why They Matter), we should understand the Garbage Collector if we want to know what impact it might have if your application is now using G1 by default. For more details see Oracle’s Getting Started with the G1 Garbage Collector.
- How to Format a String, Clarified! A nice back-to-basics summary of String formatting.
- Understanding Classes in Java (Part 1) Another good back-to-basics article. You probably know all of this but it’s always worth revising topics like this. Understanding Classes in Java (Part 2) goes deeper, including the representation of Objects in memory.
Android
I get a lot of my Android news from the excellent Android Weekly newsletter, where they link to a much wider range of Android articles than I do, so it’s well worth subscribing if Android is your thing.
Languages, Frameworks and Libraries
The other big news was the release of Java EE 8 at last too, as well as more news on its move to Open Source. RebelLabs also released their annual productivity report, which shouldn’t be ignored even despite all the other Java noise, particularly since it contains good news for JetBrains and our users.
- JUnit 5.0 released! If you haven’t tried it yet, do give it a go it addresses a lot of the weaknesses of JUnit 4. I’m personally using it on Java 9 and it’s perfect.
- Gradle 4.2 is out. Gradle 4.1 had support for Java 9, but you’ll probably want to use the latest Gradle release if you want the best support. Also check out the Building Java 9 Modules tutorial.
- Spring Framework 5.0 goes GA, with support for Java 9 and Java EE 8 API level. You may also want to check out This Week in Spring, Java 9 Edition.
- Akka 2.5.6 Released – with JDK9 and j.u.c.Flow support. It’s exciting to see a Reactive Library with support for the new Java 9 Reactive API already.
- Hibernate ORM 5.2.11.Final released, and is Java 9 ready.
Events
Come and say hello at the booth, see our presentations and ask us any questions!
And Finally
News and topics from the IntelliJ IDEA blog that you may have missed:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK