Build a concurrent BFS web crawler that fetches pages via Java 11+ HttpClient, extracts local href links cleanly with pre-compiled Regex, deduplicates visited paths atomically with ConcurrentHashMap.newKeySet().add(), and scales cleanly across a bounded Semaphore over Virtual Threads.
More lessons in Complete Core Java