“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building…
Category: Articles
Spring Custom Serializers with @JsonIdentityInfo
IntroSerialization/Deserialization from/to JSON in Spring is widely used in modern Spring-based…
Java 8 Streams peek() API | Baeldung
Learn about the peek() method and explore the lifecycle of a stream.
How to sort integer array in ascending and descending order using lambda only in java
Teams Q&A for work Learn More int[] arr2 = new int[] {54, 432, 53, 21, 43}; I am using this to sort but it is giving an error. Arr….
Solving a word search puzzle
In the previous post I showed a nice snippet/trick at the bottom of the post to find all the neighbors in a 2D array.Last week I used thi…
payara/Payara
Payara Server is an open source middleware platform that supports reliable and secure deployments of Java EE (Jakarta EE) applications in any environment: on premise, in the cloud or hybrid. – pay…
Q&A: Mike Milinkovich on Java in 2018 and 2019 — ADTmag
John talks to Mike Milinkovich, executive director of Eclipse Foundation, about the stewardship transition of enterprise Java to the foundation in 2018 and other Java-related challenges and what he sees coming for the Java community in 2019.
5 Websites to Learn Java for FREE – DZone Java
In this article, we explore some of the best online resources for learning Java and other programming languages, specifically practice problems and tutorials.
Java Vs. Kotlin: Which One Will Be the Best in 2019? – DZone Java
Android app development has two programming languages: Java and Kotlin. This article will help you to decide which one is better.
Top 10 Java Books for Programmers — All time Great – The Startup – Medium
Some of the all-time best books for Java programmers ranging from core Java to best practices to unit testing to Spring framework.
3 Best Practices Java Developers can Learn From Spring Framework
There is no doubt that Spring Framework is one of the most popular Java frameworks and makes it really easy to create real-world, enterpris…
IntelliJ IDEA 2019.1 Early Access Program is open! | IntelliJ IDEA Blog
Posted on January 24, 2019 by Zlata Kalyuzhnaya It’s time to get started on the Early Access Program for IntelliJ IDEA 2019.1 and ….
Convert a Float to a Byte Array in Java | Baeldung
1. Overview In this quick tutorial, we’ll explore a few examples of using Java to convert a float to a byte array and vice versa. This is simple if we convert an int or a long to a byte array as Java Bitwise Operators works only on integer types. However, for a float, we need to use another layer of conversion. For instance, we can use APIs provided by the Float class or ByteBuffer class of java.nio package. 2. Float to Byte Array Conversion As we know, the size of a float in Java is 32 bit which is similar to an int. So we can use floatToIntBits or floatToRawIntBits functions available in the Float class of Java. And then shift the bits to return a byte array. Click here to learn more about bit shifting operations. The difference between both is floatToRawIntBits preserves Not-a-Number (NaN) values as well. Here shifting the bits has been done through a technique called Narrowing Primitive Conversion. Firstly let’s have a look of the code with Float class function: public static
7 things Java programmers need to watch for in 2019 | Packt Hub
We take a look at the 7 significant things a Java programmer should look forward to in 2019. Releases, conferences, and more.
How to Encourage Upgrades Past Java 8 – DZone Java
After Oracle announced that they would no longer provide support for Java 8, we decided to look at how we can encourage devs to switch to newer versions.