Explore various techniques for iterating through a List of Maps in Java.
Search Results for: Java Data Types
Converting short to byte[] in Java
Learn how to convert a short value to a byte[] array.
How to Implement Elvis Operator in Java 8
Implement the Elvis operator in Java 8 using the Optional class and ternary operator.
Introduction to Java 22
Explore the latest Java release, Java 22, which is now in General Availability.
Convert From int to short in Java
Learn how to convert from an int primitive to a short primitive in Java.
Java Weekly, Issue 539
Jakarta Data, multimodal LLMs, deprecating Dates in Hibernate, vector API, and Agile as a silver bullet (or not).
Implement the Builder Pattern in Java 8
Learn how to implement a Builder Pattern in Java 8.
Introduction to Simple Java Mail
Explore the process of setting up Simple Java Mail and learn how to send emails, including attachments and HTML content, handle exceptions, and more.
PrintWriter write() vs print() Method in Java
Discover the differences between PrintWriter’s write() and print() methods.
Install Java on macOS
Learn how to install Oracle JDK via DMG package and OpenJDK via Homebrew package manager
New Features in Java 21
Learn about the new features of Java 21, like record patterns and switch enhancements for cleaner code.
Querying JSONB Columns Using Spring Data JPA
Explore various approaches for querying JSONB columns using Spring Data JPA
Internet Address Resolution SPI in Java
Learn how Internet Address Resolution works in Java using the InetAddress API.
The @Struct Annotation Type in Hibernate – Structured User-Defined Types
Quick intro to Hibernate’s @Struct annotation to create structured user-defined types.
Java Weekly, Issue 534
Java 22 is out. Nuff said 🙂
Serialization with FlatBuffers in Java
Explore the FlatBuffers library and its capabilities to serialize and deserialize complex data.
Implementing GraphQL Mutation Without Returning Data
Explore techniques for implementing GraphQL mutations without retrieving or returning specific information.
Spring Data JPA Repository for Database View
Learn how Spring Data repositories can be effectively applied to database views
@DataJpaTest and Repository Class in JUnit
Learn how to use @DataJpaTest to test our JPA repository in JUnit.
How to Pretty-Print a Map in Java
Learn different approaches for pretty-printing maps in Java.