Lazy Bytes·Oct 10, 2025Implementation of Stack and Queue Using the Deque Interface in JavaIntroduction
Lazy Bytes·Aug 28, 2025Fundamental contept behind Inversion of ControlIn traditional software development a top down approach is followed where the developer maintains and manages every aspect of the…
Lazy Bytes·Aug 28, 2025Code Duplication and IOC to solve itNormally resource management and initialization code gets duplicated across every method that needs it. This boilerplate code obscures…
Lazy Bytes·Aug 28, 2025Inflexibility of Development and how to deal with it with using IOCIn software development requirements keep on changing. With the traditional approach, adapting to changes is extreamly rigid and error…
Lazy Bytes·Aug 28, 2025Testing with Traditional and IOC ApporachUnit tests are supposed to test a single unit of code in isolation, but when that code creates real database connections, sends real emails…
Lazy Bytes·Aug 28, 2025Tight Coupling . . . And how to solve with IOCTraditionally when a class directly instantiates its dependencies using the new keyword, it becomes permanently wedded to that specific…
Lazy Bytes·Aug 25, 2025What is the Dependency Injection design pattern ?A dependency is an object of any java class that is needed by object of another java class to perform its operations. In simple terms it…
Lazy Bytes·Aug 29, 2024Hibernate Session Factory and Entity Life Cycle ManagementHibernate Session Factory:
Lazy Bytes·Oct 23, 2023Decoding Binary Trees: Key Elements and Array Representation“A binary tree is a hierarchical data structure in which each node has at most two children, referred to as the left child and the right…