Java Annotated Monthly – May 2017
After a few, blissful, drama-free issues, this month we look into the tension between the community and the Stewards of Java (again), this time the topic is Modularity. Feedback from the community is always a Good Thing to help improve the platform, but when Jigsaw was due for release with Java 9 in two months it gets a little more… interesting. Java 9 isn’t the only news, as usual we’re covering Java’s future, linking to blogs and tutorials for Java (including Android) code and design, and we’ve added a whole new section for Java Performance this month.
Probably the most important news of the month is community concerns around Jigsaw (modularity for Java), the big ticket item for Java 9. The first article in this section is a long, in-depth critique of the approach taken by Oracle.
- Concerns Regarding Jigsaw (JSR-376, Java Platform Module System)
- Is Jigsaw good or is it wack? (thoughts on the article above)
- Will Jigsaw lead to the fragmentation of the Java community? (short overview of both previous articles)
- InfoQ reports this week that IBM and Red Hat to Vote “No” on Java Modules (Jigsaw)
- For others, the problem is not playing nicely with Maven: Why Maven Cannot Generate Your Module Declaration
This is an unusual situation for Java, and it’s not clear yet what it means. Will Java 9 be pushed back again so it can be amended further? Or will the community prefer to simply get their hands on the solution that’s been in progress for so long? Voting on JSR 376 (Jigsaw) closes on 8 May so we’ll keep you updated.
Of course there’s more Java 9 news and background.
- The true impact of modular Java (written less than a month ago, but before the above “concerns” were published)
- Java 8 Vs. Java 9: Get Ready for a New Era (very business-focused, may be useful to wave at “management”. Be aware the content is out of date, e.g. the Money API was pulled out of Java 9 a while ago)
- Java 9: Step by Step From Zero to Modules (Part 1) (but remember you don’t have to do everything from the command line)
- Java 9 (Part 2): JShell Step by Step (for more help check out the quite old, but very detailed, REPL tutorial)
Note: if you were previously downloading your Early Access copies of Java 9 from https://jdk9.java.net/download/ you need to update your bookmarks to http://jdk.java.net/9/
— Mark Reinhold (@mreinhold) April 21, 2017
News about Java EE 8 has been quiet lately (again), but it’s not due to lack of progress.
- Java EE 8 – March recap
- Light at the End of the Long Tunnel for Java EE 8 (summary of where we are today)
Java In General
A mixed offering of Java-specific but otherwise-difficult-to-classify articles.
- Salaries and Job Offerings Categorized by Programming Language (spoiler: Java is about what you’d expect)
- Maven cheat sheet (note: we’ve also just updated our Working with Maven in IntelliJ IDEA video)
- Implications of the Presence of StringBuffer
- Compile Time Dynamism Using Java Generics
- Which Java Logging Framework Has the Best Performance?
- How to Effectively Sweep Problems Under the Rug in Java
Android O continues to be a big talking point, and as usual we throw in a bunch of articles on good practice which may be applicable to all Java developers.
- Android O: Notification Channels, Background Limits, PIP and More
- Hidden Gems of Android O
- Android O and the Implicit Broadcast Ban (sounds like a Harry Potter book)|
- Test Driving away Coupling in Activities
- Squeezing Performance from SQLite: Insertions
- Android Things Brings TensorFlow-Based Machine Learning and Computer Vision to IoT Devices
- Don’t put view != null checks in your Presenters
- Finally understanding how references work in Android and Java
Design and Architecture
This month we have a mix of OO design patterns, approaches like Domain Driven Design and Test Driven Design, and take a look at a critique of OO, to understand not only its strengths but its weaknesses.
- Why OO Sucks by Joe Armstrong (worth reading to be reminded of differences in approaches to design)
- ZeroTurnaround’s Java Web Frameworks Index
- A Crystal Ball to Prioritise Technical Debt in Monoliths or Microservices
- New Distributed Primitives for Developers (or: how containers have change the way a developer thinks)
- Does TDD Harm Architecture? (spoiler: not if you do it right, apparently)
- Why Should I Write Getters and Setters?
- Domain Analysis by Color Modeling
- Aggregate Pattern
- Factory Method vs. Simple Factory (patterns are well and good, but it’s better to understand how to refactor to use them)
- Object Oriented Tricks: #1 The Art of Command Query Separation (see also: Refactoring – Separate Query from Modifier)
- Object Oriented Tricks: #2 Law of Demeter
It’s harder to find the time to watch presentations than to skim documents, but QCon London had some great presentations on performance that have just been published and well worth a look:
- Async or Bust!? – Todd Montgomery (video)
- High Performance Managed Languages – Martin Thompson (or: when is Java better than C/C++) (video)
- Continuous Performance Testing – Mark Price (video)
- Latency Sensitive Microservices – Peter Lawrey (video)
- Performance Testing in Java – Ix-chel Ruiz & Andres Almiray (video)
- Want to Know What’s in a GC Pause? Go Look at the GC Log (article)
JetBrains is going to be at a number of events in May. Come and say hello, ask us questions or give feedback at our booth:
- 10-11 May: OSCON, Austin (no booth, Hadi Hariri is giving a workshop on Kotlin)
- 11-12 May: DevoxxUK, London (no booth, Trisha Gee is presenting a BoF and a talk)
- 15-19 May: SDD London (no booth, Hadi is presenting)
- 17 May: Java Day, Tokyo
- 17-19 May: GeeCon, Krakow
- 17-19 May: J on the Beach, Malaga (no booth, Trisha is presenting)
- 18-19 May: Spring I/O, Barcelona
- 30 May – 2 June: Scala Days, Copenhagen
- IntelliJ IDEA 2017.1.2 update is available
- Which means the 2017.1.3 EAP is open, but more excitingly…
- The 2017.2 EAP is here!
- Most of the readers of Java Annotated won’t need this, but the Running IntelliJ IDEA for the First Time video tutorial has been updated, feel free to share.
Complete this form and get Java Annotated Monthly delivered fresh to your email.
Subscribe to Blog updates
Thanks, we've got you!
Java Annotated Monthly – December 2023
The December edition of Java Annotated Monthly is here! As usual, you’ll find all the latest Java and Kotlin updates as well as details of key industry events for networking and learning. This issue also features the latest release candidates and targeted JEPs alongside Java tutorials and articles a…
Java Annotated Monthly – November 2023
Welcome to the Java Annotated Monthly – November 2023! As the Java world keeps on spinning, we've gathered a treasure trove of articles, talks, and insights to warm your Java developers’ hearts. This month's edition features a delightful blend of the latest technological advancements and the ever…
Java Annotated Monthly – October 2023
Welcome to the October edition of Java Annotated Monthly! In this issue, we're plunging into the world of Java and tech. We'll explore the latest and greatest in the recent release of Java 21, share exciting news about the new EAP for IntelliJ IDEA 2023.3, and bring you a handpicked selection of …
JPA and React Plugins: From Buddies To Full Members of The JetBrains Family
We are excited to announce that JPA Buddy and React Buddy have joined the JetBrains family. Positioned as powerful plugins for working with JPA data and React applications, respectively, they will offer even more functionality for IntelliJ IDEA and WebStorm developers moving forward. With this ac…