Need Unix timestamps from dates in Java? Read further about the conversion in this short article.
Search Results for: bin
Java Weekly, Issue 528
Looking forward to Java 22, Hibernate DAO generation and Jakarta EE development with Payara. A good week.
Storing UUID as Base64 String in Java
Learn how to store UUID as Base64 String using different approaches in Java.
Calculate Weighted Mean in Java
A quick and practical guide to calculating weighted mean in Java.
Run-Length Encoding and Decoding in Java
Learn how run-length encoding works and then, explore two approaches to implementing run-length encoding and decoding.
Generating Unique Positive Long Using SecureRandom in Java
Learn how to use SecureRandom to generate unique positive values in Java.
Java Weekly, Issue 527
Primitive pattern matching, recursive fetch JPA, soft delete Hibernate, new GraalVM, and life without pull requests. A good week.
Custom JSON Deserialization Using Spring WebClient
Learn about custom deserialization and how this can be implemented using Spring WebClient.
Access Job Parameters From ItemReader in Spring Batch
Explore how to work with JobParameters and how to access them from Spring Batch components.
Storing PostgreSQL JSONB Using Spring Boot and JPA
Learn how to proficiently store and manage JSON data in PostgreSQL using Spring Boot and JPA
N+1 Problem in Hibernate and Spring Data JPA
Explore a common N+1 problem while using Spring JPA and Hibernate.
Set an Environment Variable at Runtime in Java
Learn how to have more control over the environment variables, especially for test scenarios.
Java Weekly, Issue 526
CountDownLatch, primitives for pattern matching, eBPF for Java, soft assertions, and 2FA vulnerabilities!
Improving Test Coverage and Readability With Spock’s Data Pipes and Tables
Learn how to use Spock’s data feeds in a where block.
Calculating the Power of Any Number in Java Without Using Math pow() Method
Explore various approaches to calculating the powеr of a numbеr in Java without rеlying on the Math.pow() mеthod.
Difference Between mvn install and mvn verify
Learn the key differences between mvn install and mvn verify.
JFR View Command in Java 21
A quick tutorial on the Java Flight Recorder view command, available in Java 21.
Simple Morse Code Translation in Java
Learn how to translate from English to Morse code and vice versa.
Introduction to Apache Calcite
Learn about Apache Calcite, a powerful data management framework.
Introduction to Spring Cloud AWS 3.0 – SQS Integration
Learn how to use AWS SQS using the Spring Cloud AWS SQS 3.0 integration.