Web Crawling in Java: A Tale of Classical Threads and Virtual Threads
A compelling narrative around web crawling in Java, contrasting classical threads with their newer counterpart: virtual threads.
A compelling narrative around web crawling in Java, contrasting classical threads with their newer counterpart: virtual threads.
Does stack size have an impact on the number of native threads that can be created in a JVM environment?
Another month has flown by, leaving me amazed at how swiftly time passes. Initially, it seemed like an uneventful period, but upon reflection, I realize that’s not entirely true. Primarily, my focus has been on spending quality time with my 7-month-old daughter, who has been increasingly observant and expressive. Sometimes, the joy of fatherhood supersedes … Read more
Let’s examine the principles and practical applications of Sealed Classes and pattern matching.
In a recent insightful interview, Simon Martinelli, an Oracle ACE associate and veteran Java developer, shares his career experiences, software development philosophies, and views on mentoring. With over two decades in the industry, Martinelli offers a perspective that combines the wisdom of experience with a focus on simplicity and constant learning. Profiles: Fun Fact: Before … Read more
By considering real-world examples and learning from the process of refactoring and testing, we can create robust and maintainable code that stands the test of time.
In this tutorial, we will explore the concept of thread safety in Java, specifically focusing on a simple counter.
When building a web application, managing file uploads properly is a common requirement. After receiving, files can be stored in several places: in a file system, in a database or, more commonly, in a cloud storage service. In this article, we will cover how to store files in a database using Spring Boot and discuss … Read more
Sealed classes and interfaces, together with pattern matching, provide powerful new tools for more explicit, controlled, and flexible design in Java
Dear Readers, August has arrived a bit early for me, and I find myself reflecting on a month that slipped away in a flurry of activity. This unexpected pace resulted in my missing the chance to write last month’s newsletter. However, I’m making amends by writing this month’s edition early. Last week, a spark of inspiration … Read more