Building a Multi-Client Chat Server in JavaBlocking I/O, Concurrency, and the Real Cost of Multithreading In the earlier parts of this series, we built Java servers from scratch. We began with a single-threaded server to understand sockets and streams, then introduced multithreading, and fina...Feb 1 · 5 min readarshghaiwat.hashnode.dev
Building a Multi-Client Chat Server in JavaBlocking I/O, Concurrency, and the Real Cost of Multithreading In the earlier parts of this series, we built Java servers from scratch. We began with a single-threaded server to understand sockets and streams, then introduced multithreading, and fina...Feb 1 · 5 min readarshghaiwat.hashnode.dev
Building a Java Server from ScratchUnderstanding Sockets, Streams, Threads, and Thread Pools (The Right Way) When we use frameworks like Spring Boot, Tomcat, or Netty, the complexity of networking is hidden behind annotations and abstractions. But under the hood, all of them rely on t...Feb 1 · 6 min readarshghaiwat.hashnode.dev
2. Spring CoreConstructor Injection, Autowiring, Containers, and the Move Beyond XML In the previous part of Spring Core, we saw how Dependency Injection helps us move away from tightly coupled code by shifting object creation responsibility from the developer to ...Feb 1 · 5 min readarshghaiwat.hashnode.dev
1. Spring CoreInversion of Control (IoC) and Dependency Injection (DI) in Spring Understanding Spring Core Using XML Configuration When developers begin their Spring journey, many jump straight into Spring Boot. While Spring Boot undeniably speeds up development, ...Jan 15 · 6 min readarshghaiwat.hashnode.dev