Hi, I'm Dimitar


Java Consultant / Software Developer

Web Page Crawling with Java - A Simple Example

Post thumbnail
Post thumbnail
Web page crawling, also known as web scraping, is a powerful technique for extracting data from websites. In this tutorial, we’ll explore web page crawling using Java’s HttpClient. We’ll create a web crawler class named Crawler, which will support both synchronous and asynchronous crawling. You can configure the crawling depth,... [Read More]

Saving Web Page Content as a File in Java

Post thumbnail
Post thumbnail
In Java 11 and later, you can use the HttpClient from the standard library to fetch web page content and save it as a file. This is a powerful addition to Java, making it easier than ever to perform HTTP operations. In this blog post, we’ll explore how to achieve... [Read More]

What is Stack in Java?

Post thumbnail
Post thumbnail
Stacks are essential data structures in programming that follow the Last-In, First-Out (LIFO) principle, meaning that the last item added to the stack is the first one removed. Stacks are useful for managing data efficiently, such as reversing a word, evaluating expressions, or implementing undo/redo operations. In this blog post,... [Read More]

What is 'hashCode()' in Java?

Post thumbnail
Post thumbnail
In the world of Java programming, the hashCode() method is a fundamental concept. It plays a pivotal role in hash-based data structures such as HashMaps and HashSets, ensuring efficient storage and retrieval of data. In this blog post, we’ll delve into the hashCode() method, exploring what it is and how... [Read More]

What is Queue in Java?

Post thumbnail
Post thumbnail
Queues are important data structures in programming that follow the First-In, First-Out (FIFO) principle, meaning that the first item added to the queue is the first one removed. Queues are useful for handling data sequentially, such as printing documents, processing requests, or simulating waiting lines. In this blog post, you... [Read More]