Understand the difference between calling HttpServletRequest#getSession() and HttpServletRequest#getSession(boolean). >>>
Yearly Archives: 2020
Apache Maven Series
Learn how to work with Apache Maven, the popular Java build automation tool >>>
Spring @PathVariable Annotation
When we need to extract values from the request URI, @PathVariable is the way to go. Let’s look how to use it. >>>
Hypermedia Serialization With JSON-LD
Learn how to serialize and deserialize JSON-LD using Jackson. >>>
Determine if an Object Is of Primitive Type
Learn how to determine if an object is of primitive type using Java. >>>
Copy a Directory in Java
Learn how to copy a directory using core Java features and third-party libraries >>>
Java Weekly, Issue 345
Microsoft continues to contribute to the Java ecosystem with new the OpenJDK for ARM and JMS over AMQP. Also, Patterns to manage distributed systems and finally, working effectively from home! >>>
Flyway Repair With Spring Boot
Learn how to recover from a failed Flyway migration using Spring Boot. >>>
Performance Comparison of boolean[] vs BitSet
Compare BitSets and boolean[] in terms of performance in different scenarios >>>
A Guide to async-profiler
Explore async-profiler along with various profiling techniques it offers >>>
Difference in Used, Committed, and Max Heap Memory
Learn how adaptive sizing works and evaluate the difference between max, used, and committed sizes >>>
Introduction to Transactions in Java and Spring
A quick and practical guide to transactions in Java and Spring. >>>
XML Defined Beans in Spring Boot
Learn about XML defined beans in Spring Boot. >>>
Check If a File or Directory Exists in Java
Learn how to check if a file or directory exists in Java >>>
Skipping Tests With Gradle
In this short tutorial, we’ll see how to skip tests when using the Gradle build tool. >>>
How to Implement a CNN with Deeplearning4j
Learn how to build and train a convolutional neural network model using the Deeplearning4j library in Java. >>>
When Are Static Variables Initialized in Java?
Learn about the static variable initialization in Java. >>>
Comparing Arrays in Java
Have a look at different ways to compare arrays in Java. >>>
Taking Screenshots Using Java
Learn how to take screenshots using Java. >>>
Preserving Line Breaks When Using Jsoup
Learn different ways of preserving line breaks in HTML using Jsoup. >>>