The ThreadsThe Main Thread Every process has at least one thread called the main thread. Java provides us with the Threads class to interact with threads. To get the current thread we can use a static method defined in the Thread class called the .currentThread...Aug 20, 2024 · 12 min readblog.rizwan.io
Introduction to MultithreadingProgram, Process & Threads A Program (or an application) is an executable file on the disk. When we execute any program it starts a Process. A Process (or Context) is a running instance of the program located in the memory. A Thread is a unit of exec...1DAug 11, 2024 · 5 min readblog.rizwan.io
Episode 0: MavenIntroduction to Maven When developing a Java application, we may require extra JARs such as JUnit, JDBC, Spring, Hibernate, Commons Logging, JSON and so on. One solution to that is to manually download each JAR from their website and add them to your...Aug 7, 2023 · 5 min readblog.rizwan.io
DNS - The Internet PhonebookWhat is DNS? Let's understand DNS by a simple analogy. To call someone on their mobile, We need their mobile number, but once we have it, There is no need to remember it. We can save their name and number in the phonebook. Next time we need to call t...Jun 26, 2023 · 4 min readblog.rizwan.io
RegEx - Extracting Strings (part 2 of 2)In the last article, we learned how to write and match a regex. Now we'll look at how to extract the string that matches the regex in Java. Remember, If we want to match a character that has a special meaning in regex like . then we need to prefix i...May 13, 2023 · 7 min readblog.rizwan.io