How to Install Multiple Versions of Java on the Same Machine
SDKMan! is a tool for managing parallel versions of multiple Software Development Kits on most Unix-based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing, and listing Candidates
https://dzone.com/articles/how-to-install-multiple-versions-of-java-on-the-sa
#sdkman #java
SDKMan! is a tool for managing parallel versions of multiple Software Development Kits on most Unix-based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing, and listing Candidates
https://dzone.com/articles/how-to-install-multiple-versions-of-java-on-the-sa
#sdkman #java
DZone
How to Install Multiple Versions of Java on the Same Machine
In this post, we look at a common problem facing Java developers: how to install multiple versions of the JDK on the same machine. Let's find out.
JEP Draft: Add Detailed Message to NullPointerException Describing What is Null
Programming errors like NullPointerExceptions would rarely go to production, however, they might be really hard to troubleshoot as by default they don't contain a message.
Take a look at this new JEP trying to address this limitation available for years in the JDK.
https://openjdk.java.net/jeps/8220715
#jep #java
Programming errors like NullPointerExceptions would rarely go to production, however, they might be really hard to troubleshoot as by default they don't contain a message.
Take a look at this new JEP trying to address this limitation available for years in the JDK.
https://openjdk.java.net/jeps/8220715
#jep #java
Java 12: Mapping with Switch Expressions
Java 12 comes with “preview” support for “Switch Expressions”. In this article, you will be looking at the new feature and how it can be used in conjunction with some common Stream operations. Jump in to learn how you can make your code even better with Streams and Switch Expressions!
https://www.javacodegeeks.com/2019/03/java-12-mapping-with-switch-expressions.html
#java #java12 #middle #senior
Java 12 comes with “preview” support for “Switch Expressions”. In this article, you will be looking at the new feature and how it can be used in conjunction with some common Stream operations. Jump in to learn how you can make your code even better with Streams and Switch Expressions!
https://www.javacodegeeks.com/2019/03/java-12-mapping-with-switch-expressions.html
#java #java12 #middle #senior
Java Code Geeks
Java 12: Mapping with Switch Expressions - Java Code Geeks - 2023
Interested to learn about Switch Expressions? Check our article looking at the new Java 12 feature “Switch Expressions” ..
Microservices Anti-Patterns
In this post, a developer talks about the microservices antipatterns that he's seen while working with clients of all sizes.
https://dzone.com/articles/microservices-anti-patterns
#microservices #architecture #senior
In this post, a developer talks about the microservices antipatterns that he's seen while working with clients of all sizes.
https://dzone.com/articles/microservices-anti-patterns
#microservices #architecture #senior
DZone
Microservices Anti-Patterns
An experienced developer discusses microservices anti-patterns and faux-pas he's witnessed working with clients over the course of his career.
Can instanceof make Unmodifiable Collections faster?
In a battle-hardened code base, all normal bugs were fixed - those that remain are usually quite bizarre. This is a story of one such bug and how it uncovered a less than optimal implementation in the JDK itself.
#bug #java
https://www.opsian.com/blog/can-instanceof-make-unmodifiable-collections-faster/
In a battle-hardened code base, all normal bugs were fixed - those that remain are usually quite bizarre. This is a story of one such bug and how it uncovered a less than optimal implementation in the JDK itself.
#bug #java
https://www.opsian.com/blog/can-instanceof-make-unmodifiable-collections-faster/
Opsian
Can instanceof make Unmodifiable Collections faster?
In a battle-hardened code base, all normal bugs were fixed - those that remain are usually quite bizarre. This is a story of one such bug and how it uncovered a less than optimal implementation in the JDK itself.
First Look at JDK 13
Things are moving fast in JDK 13 development! This time around, we review two JEPs that are proposed to target JDK 13 as well as two new JEP candidates, including an extension of the switch statement, first introduced in JEP 325. Let’s dig in!
#java #java13 #news
https://jaxenter.com/keeping-track-of-jdk-13-155201.html
Things are moving fast in JDK 13 development! This time around, we review two JEPs that are proposed to target JDK 13 as well as two new JEP candidates, including an extension of the switch statement, first introduced in JEP 325. Let’s dig in!
#java #java13 #news
https://jaxenter.com/keeping-track-of-jdk-13-155201.html
devmio - Software Know-How
blog - devmio - Software Know-How
[...]Read More...
Java: New Developments and Features
Oracle's latest long-term release, Java 11, has been out for several months, Java 12 has just hit the scene, licensing has changed, and MicroProfile is growing. As Java continues to move faster, DZone is committed to educating their readers about the most important new features, why you should move beyond Java 8, how developers are using Java, and more in this article!
#java #news #magazine #dzone
https://dzone.com/guides/java-new-developments-and-features
Oracle's latest long-term release, Java 11, has been out for several months, Java 12 has just hit the scene, licensing has changed, and MicroProfile is growing. As Java continues to move faster, DZone is committed to educating their readers about the most important new features, why you should move beyond Java 8, how developers are using Java, and more in this article!
#java #news #magazine #dzone
https://dzone.com/guides/java-new-developments-and-features
dzone.com
Java: New Developments and Features - DZone Research Guides
20 Examples of Using Java’s CompletableFuture
Java 8's CompletableFuture is a versatile tool to have. Here are 20 examples of how you can use it in your code for the best effect. Be sure to check them out!
#java #java8 #middle #senior
https://dzone.com/articles/20-examples-of-using-javas-completablefuture
Java 8's CompletableFuture is a versatile tool to have. Here are 20 examples of how you can use it in your code for the best effect. Be sure to check them out!
#java #java8 #middle #senior
https://dzone.com/articles/20-examples-of-using-javas-completablefuture
DZone
20 Examples of Using Java’s CompletableFuture
For a better understanding of the CompletionStage API, let's look at 20 examples of CompletableFuture in action, both synchronously and asynchronously.
Continuous Profiling in Production: What, Why and How
Richard Warburton and Sadiq Jaffer talk about the ins and outs of profiling in a production system, the different techniques and approaches that help understand what’s really happening with a system. This helps solve new performance problems, regressions and undertake capacity planning exercises.
#tools #profiling #middle #senior
https://www.infoq.com/presentations/cotinuous-profiling-production
Richard Warburton and Sadiq Jaffer talk about the ins and outs of profiling in a production system, the different techniques and approaches that help understand what’s really happening with a system. This helps solve new performance problems, regressions and undertake capacity planning exercises.
#tools #profiling #middle #senior
https://www.infoq.com/presentations/cotinuous-profiling-production
InfoQ
Continuous Profiling in Production: What, Why and How
Richard Warburton and Sadiq Jaffer talk about the ins and outs of profiling in a production system, the different techniques and approaches that help understand what’s really happening with a system. This helps solve new performance problems, regressions…
Explore the New Java Garbage Collectors
The GC topic is still trendy especially considering the variety of Java application workloads and can have significant impact on performance.
The last two releases of Java introduced three new GCs. We'll take a look at each of them and what they add to the ecosystem.
#java #gc #middle #senior
https://dzone.com/articles/java-garbage-collection-3
The GC topic is still trendy especially considering the variety of Java application workloads and can have significant impact on performance.
The last two releases of Java introduced three new GCs. We'll take a look at each of them and what they add to the ecosystem.
#java #gc #middle #senior
https://dzone.com/articles/java-garbage-collection-3
DZone
Java Garbage Collection
Learn everything you need to know about the newest garbage collectors to the JVM, including the Epsilon GC, ZGC, and Shenandoah.
Box Old Objects to Be Autoclosable
Since Java 7 we can use try-with-resources and have any object automatically closed that implements the Autocloseable interface. But some of the classes need some wrap-up but are not Autocloseable. In this article Peter Verhas is sharing a nice tip how we can close such resources in very simple way! Check it out!
#java #junior #middle
https://javax0.wordpress.com/2019/05/22/box-old-objects-to-be-autoclosable/
Since Java 7 we can use try-with-resources and have any object automatically closed that implements the Autocloseable interface. But some of the classes need some wrap-up but are not Autocloseable. In this article Peter Verhas is sharing a nice tip how we can close such resources in very simple way! Check it out!
#java #junior #middle
https://javax0.wordpress.com/2019/05/22/box-old-objects-to-be-autoclosable/
Java Deep
Box old objects to be autoclosable
Since Java 7 we can use try-with-resources and have any object automatically closed that implements the Autocloseable interface. If the resource is Autocloseable. Some of the classes need some wrap…
Excursions into Deduplication
For many workloads strings can be the most significant contributor to memory footprint.
When are Strings deduplicated? How can you find out whether they are of any benefit in your application? How much does it cost in terms of CPU?
This article will guide you how to easily find the answers to the questions above.
#java #jvm #middle #senior
https://www.javaspecialists.eu/archive/Issue270.html
For many workloads strings can be the most significant contributor to memory footprint.
When are Strings deduplicated? How can you find out whether they are of any benefit in your application? How much does it cost in terms of CPU?
This article will guide you how to easily find the answers to the questions above.
#java #jvm #middle #senior
https://www.javaspecialists.eu/archive/Issue270.html
www.javaspecialists.eu
[JavaSpecialists 270] - Excursions into Deduplication
When are Strings deduplicated? How can we find out whether they are of any benefit in our application? How much does it cost in terms of CPU? We try to show you how we can get this from the deduplication statistics provided by the JVM.
Concurrent programming: Two techniques to avoid shared state
Most certainly the more you learn about multi-threaded programming, the harder it gets. Coordinating multiple threads modifying the same data is complicated. In the following article, you are going to explore two techniques that can help you: Copy before modification and Asynchronous modification using a single thread.
#java #concurrency #middle
http://vmlens.com/articles/cp/2_techniques_to_avoid_shared_state/
Most certainly the more you learn about multi-threaded programming, the harder it gets. Coordinating multiple threads modifying the same data is complicated. In the following article, you are going to explore two techniques that can help you: Copy before modification and Asynchronous modification using a single thread.
#java #concurrency #middle
http://vmlens.com/articles/cp/2_techniques_to_avoid_shared_state/
Immutable Collections In Java – Not Now, Not Ever
In JDK terminology, immutable and unmodifiable have shifted over the last few years. At first, the term immutable was used for the collections returned by Java 9’s collection factory methods. But will a method that prints all elements in an immutable collection always have the same output? Yes? No? What’s An Immutable Collection? Is immutability a feature? Can Unmodifiable And Immutable Collections Be Retrofitted? Find out now!
#java #jvm #jdk #architecture #middle
https://blog.codefx.org/java/immutable-collections-in-java/
In JDK terminology, immutable and unmodifiable have shifted over the last few years. At first, the term immutable was used for the collections returned by Java 9’s collection factory methods. But will a method that prints all elements in an immutable collection always have the same output? Yes? No? What’s An Immutable Collection? Is immutability a feature? Can Unmodifiable And Immutable Collections Be Retrofitted? Find out now!
#java #jvm #jdk #architecture #middle
https://blog.codefx.org/java/immutable-collections-in-java/
nipafx // You. Me. Java.
Immutable Collections In Java - Not Now, Not Ever // nipafx
The JDK contains immutable collections, but no type ImmutableCollection. Here's why that's so and why it won't change.
Java, Today and Tomorrow by Mark Reinhold
What’s new in Java today, and what’s coming to Java tomorrow? We’ll start with a review some of the recent additions to the language and the platform. We’ll then look ahead and demonstrate some of the features currently in development in the Amber, Loom, Panama, and Valhalla projects. All of these features will continue to improve both developer productivity and program performance while retaining Java’s core values of readability, generality, and compatibility.
https://www.youtube.com/watch?v=kpio9jFhpD8
#java #video
What’s new in Java today, and what’s coming to Java tomorrow? We’ll start with a review some of the recent additions to the language and the platform. We’ll then look ahead and demonstrate some of the features currently in development in the Amber, Loom, Panama, and Valhalla projects. All of these features will continue to improve both developer productivity and program performance while retaining Java’s core values of readability, generality, and compatibility.
https://www.youtube.com/watch?v=kpio9jFhpD8
#java #video
YouTube
Java, Today and Tomorrow by Mark Reinhold
What’s new in Java today, and what’s coming to Java tomorrow? We’ll start with a review some of the recent additions to the language and the platform. We’ll then look ahead and demonstrate some of the features currently in development in the Amber, Loom,…
The practices of an extremely inefficient developer. Much with minimal change applies to any creative process.
https://medium.com/young-coder/the-7-habits-of-highly-ineffective-programmers-cdd997769879
#forfun #badpractice
https://medium.com/young-coder/the-7-habits-of-highly-ineffective-programmers-cdd997769879
#forfun #badpractice
Medium
The 7 Habits of Highly Ineffective Programmers
Are you committing crimes against code?
Nice overview of modern GCs
https://blogs.oracle.com/javamagazine/understanding-the-jdks-new-superfast-garbage-collectors
#java #gc #performance #middle #senior
https://blogs.oracle.com/javamagazine/understanding-the-jdks-new-superfast-garbage-collectors
#java #gc #performance #middle #senior
Oracle
Understanding the JDK’s New Superfast Garbage Collectors
ZGC, Shenandoah, and improvements to G1 get developers closer than ever to pauseless Java.