AGArsh Ghaiwatinarshghaiwat.hashnode.dev·Feb 1 · 5 min readBuilding 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...00
AGArsh Ghaiwatinarshghaiwat.hashnode.dev·Feb 1 · 5 min readBuilding 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...00
AGArsh Ghaiwatinarshghaiwat.hashnode.dev·Feb 1 · 6 min readBuilding 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...00
AGArsh Ghaiwatinarshghaiwat.hashnode.dev·Feb 1 · 5 min read2. 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 ...00
AGArsh Ghaiwatinarshghaiwat.hashnode.dev·Jan 15 · 6 min read1. 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, ...00