- About Refactoring legacy code
- Why is wait(), notify() & notifyAll() present in the Object Class?
- Intrinsic Locking in Java
- Bonded Context in Microservices
- Functional Interface In Java All You Need To Know
About Refactoring legacy code
Refactoring differs from general cleanup in that we aren’t just doing low-risk things such as reformatting source code, or invasive and risky things such as rewriting chunks of it. Instead, we are making a series of small structural modifications, supported by tests to make the code easier to change. In general, three different things can…
Why is wait(), notify() & notifyAll() present in the Object Class?
Intrinsic Locking in Java
Bonded Context in Microservices
Bounded context is a group of subdomains. It’s a logical boundary for domains and subdomains. DDD divides a large business system to small bounded contexts; each bounded context has its own model. A microservice is a bounded context; there could be multiple microservices inside the same bounded context but not vice versa. The same data…
Functional Interface In Java All You Need To Know
Shorten The Code Lengenthen the fun with The Functional Interface in java… The Function Interface is part of the “java.util.function” package that has been introduced since Java 8 to implement functional programming in Java. It represents a function that takes in one argument and produces a result. Hence this functional interface takes in 2 generics…
How to compare BigDecimal and Double in Java
Comparing Bigdecimal and Double is tricky because the scale(numbers to the left of .) is higher for BigDecimal as compared to Double. So you’ll have to decide up to which scale the numbers should be the same to consider both the variables as equal. Once you have decided the limit say 5, you need to…
Key component of Adobe AEM deployment wise
Author:- It’s the core AEM instance that is used by the authors/webmasters for designing content like carousels, home pages, banners, etc Publisher:- Similar to the author, it is also the core AEM instance. The only difference is that it’s the actual server from where the content is served to the end-user unless it’s cached. When…
The Hexagon design pattern
With the advancement in the software industry, there have also been advancements in the way we design and architect our software. Hexagonal architecture is one such architectural pattern where we design our software in such a way that we can add or remove modes of communicating with the external world without changing the core functionality…
Spring: YML V/S Properties file
Below are the advantages that we get by preferring .yml files over properties files:- YML Config File Properties Config File Numbering is not required for lists Numbering required for lists Folding Available in IDE’s Folding not available in IDE’s A duplicate parent property name is avoided A duplicate parent property name is required Numbering is…
Remember to die !!!!
Here is what Steve Jobs had to say on death or rather on living :-