Category: Java


  • Table of Contents Introduction to Password Encoding with BCrypt Why BCrypt? Configuring BCrypt in Spring Security Using BCrypt in a Spring Boot Application Real-World Context Common Mistakes Incorrect Configuration Not Salting Passwords Comparison of Password Hashing Algorithms Key Takeaways Introduction to Password Encoding with BCrypt Password encoding is a critical aspect of any web application,…

  • Table of Contents Introduction to Event Driven Architecture Setting up the Project Producing Events Consuming Events Real-World Context Production Use Cases Common Mistakes Mistake 1: Not Handling Errors Properly Mistake 2: Not Implementing Idempotence Mistake 3: Not Monitoring the System Key Takeaways Introduction to Event Driven Architecture When building microservices-based systems, one of the biggest…

  • Table of Contents Introduction to Spring Batch Chunk Processing and Partitioning What is Chunk Processing? Example of Chunk Processing What is Partitioning? Example of Partitioning Real-World Context Common Mistakes Mistake 1: Incorrect Chunk Size Mistake 2: Incorrect Partitioning Conclusion and Key Takeaways Introduction to Spring Batch Chunk Processing and Partitioning When dealing with large datasets,…

  • Table of Contents Introduction to Dynamic Programming Why Dynamic Programming is Important Dynamic Programming Interview Questions and Solutions Fibonacci Series Longest Common Subsequence Using Dynamic Programming in Production Common Mistakes Comparison of Dynamic Programming and Recursive Approach Key Takeaways Introduction to Dynamic Programming Dynamic programming is a method for solving complex problems by breaking them…

  • Introduction to SOLID Principles When designing software systems, it’s easy to get caught up in the complexity of the problem domain and neglect the underlying structure of the code. However, a poorly designed system can lead to maintenance nightmares, tight coupling, and fragility. The SOLID principles, which stand for Single Responsibility Principle (SRP), Open/Closed Principle…