If you need to dynamically select or create a Spring bean at runtime, avoid calling ApplicationContext#getBean() inside business code. Instead, use one of these clean, scalable patterns: ✅ Map / EnumMap Injection (Strategy + Factory) – default and most idiomatic ✅ ServiceLocatorFactoryBean – proxy-based, zero-boilerplate lookup ✅ @Lookup Method Injection – fresh prototype per call
All posts by admin
Rethinking Monoliths, Modular Monoliths, and Microservices — Without the Hype For almost a decade, the industry has been shouting from rooftops: “Microservices or die!” If your architecture isn’t a constellation of dozens of services, event streams, service meshes, API gateways, sidecars, and autoscaling clusters, are you even doing real engineering? But here’s the uncomfortable truth:
In modern Java-based systems, handling high concurrency efficiently is critical for scalable and responsive applications. Two of the most prominent concurrency models that have emerged are: Akka Actor Model Reactive/Event Loop Model In this blog post, we’ll explore Akka actors model in detail—how it work, how it differ from reactive model, when to use which,
As software products grow in complexity, organizations often scale Scrum by involving multiple teams working together. While the intent is to improve efficiency, many teams experience the opposite effect—reduced productivity and slower deliveries. This is a common challenge in large-scale Scrum implementations where coordination, communication, and alignment become bottlenecks. In this blog, we will explore
In today’s fast-paced tech world, innovation is the key to success. Whether you’re a software developer, architect, or aspiring entrepreneur, becoming a **product innovator** can open new doors for you. But how do you go from having an idea to creating a successful product? This guide will take you through the essential steps to develop
The Java ExecutorService interface, java.util.concurrent.ExecutorService, represents an asynchronous execution mechanism which is capable of executing tasks concurrently in the background. In this post, We would discuss list of interfaces to run task in parallel in Java using Concurrency utilities. public interface Executor – An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of
To dominate your sector, your goal, dream, or ambition, you must first dominate your every interest, thought, and consideration. Remember 10X, baby. You want to expand with the goal of dominating your sector and getting attention by taking massive action. Only then will you be able to expand your contacts, influences, connections, and visibility with
Software architect should select proper architecture to develop an software system. For external stakeholders and customers, it is only functional requirement. There are many factors helps to decide the architecture for an application. Let us explore the factors decide the software architecture, Architectural drivers. Architecture requirements are not only functional requirements Architectural drivers are formally
Business strategy is the firm’s plan for achieving its vision, prioritizing objectives, competing successfully, and optimizing financial performance with its business model. A business strategy is a set of guiding principles that, when communicated and adopted in the organization, generates a desired pattern of decision making. Why is A Business Strategy Needed: Strategy is fundamental
I had chance to read the book “So Good They Can’t Ignore You”. It gave answer to my long pending question “When should we switch the Job?“. That out of the way, Cal Newport prescribes four rules for picking a fulfilling career and provide career advice for better professional career. Rule #1: Don’t Follow Your








