InfoQ Homepage Java SE Content on InfoQ
-
Java Feature Spotlight: Text Blocks
Java SE 13 introduced text blocks as a preview feature, aimed at reducing the pain of declaring and using multi-line string literals in Java. It was subsequently refined in a second preview, with minor changes, and is scheduled to become a permanent feature of the Java Language in Java SE 15. In this article Brian Goetz, Java Language Architect at Oracle, provides a deep-dive into the topic.
-
Java 14 Feature Spotlight: Records
Java SE 14 (March 2020) introduces records (jep359) as a preview feature. Records aim to enhance the language's ability to model "plain data" aggregates with less ceremony. In this article Java Language Architect Brian Goetz takes a deep dive into the feature.
-
The Future of Java in the Enterprise - InfoQ’s Opinion
As part of ongoing work to review InfoQ’s editorial focus for the next year, we’ve been looking at the Java landscape in some detail. This article summarises our view of Java's role in the enterprise
-
Java 9, OSGi and the Future of Modularity (Part 2)
The flagship feature of Java 9 will be the new Java Platform Module System (JPMS). Given the maturity of OSGi there were technical, political and commercial reasons why another Java module system will soon exist. In this article we compare the two from a technical perspective and see how JPMS and OSGi can work together.
-
Java 9, OSGi and the Future of Modularity (Part 1)
The flagship feature of Java 9 will be the new Java Platform Module System (JPMS). Given the maturity of OSGi there were technical, political and commercial reasons why another Java module system will soon exist. In this article we compare the two from a technical perspective and see how JPMS and OSGi can work together.
-
Programming with Modularity and Project Jigsaw. A Tutorial Using the Latest Early Access Build
Project Jigsaw is the hallmark feature of Java 9, the next major version release of Java, and is destined to bring modular programming into the Java mainstream. After years of negotiating and myriad JSRs and JEPs, Jigsaw is starting to take its final form. This tutorial considers all aspects of programming and migration to Project Jigsaw.
-
JavaOne 2013 Roundup: Java 8 is Revolutionary, Java is back
JavaOne 2013 was recently held in San Francisco, from September 22 to September 26th. The festivities kicked off Sunday, with a Strategy Keynote by Peter Utzschneider, Nandini Ramani and Cameron Purdy.
-
Book Review: Core Java Volume 1 - Fundamentals
Core Java Volume I Ninth Edition by Cay Horstmann and Gary Cornell has been released, and it is as lucid and replete with basic non-trivial examples as ever. In this two-volume tome you will find everything you ever wanted to know about Java 7, the latest release of the Java Development Kit, including collections, generics, concurrency, etc.
-
Exterminating Heisenbugs
Victor Grazi presents ten tips to keep in mind when architecting or developing concurrent applications in Java.
-
A Discussion With Neal Gafter on the Future of Java
Microsoft's Neal Gafter, who was primary designer and implementer of the Java SE 4 and 5 language enhancements and now works for Microsoft on .NET platform languages, discusses the impact of Oracle's acquisition of Sun on Java,makes the case for adding segmented stacks and a meta-object protocol to Java,, and offers some insights into how Java and C#/.NET compare.
-
Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers
While it almost certainly remains the largest Ruby on Rails based site in the world, Twitter has gradually been moving more and more of its stack to the JVM. Last year the company announced that its back-end message queue had been re-written in Scala, and more recently it moved the search stack to Java, making Twitter search around three times faster.
-
Do Java 6 threading optimizations actually work? - Part II
Features like biased locking, lock coarsening, lock elision by escape analysis and adaptive spin locking are all designed to increase concurrency by allowing more effective sharing amongst application threads. But do they actually work? In this two part article, Jeroen Borgers explores these features and attempt to answer the performance question with the aid of a single threaded benchmark.