The Code BeanThe Road Ahead with Java 8: What’s Next for Java DevelopersJava 8 brought a breath of fresh air to Java programming. It introduced new features that simplified coding, like lambda expressions, the…Oct 28, 2023Oct 28, 2023
The Code BeanString Manipulation: String vs. StringBuilder vs. StringBufferString Manipulation: String vs. StringBuilder vs. StringBuffer | The Code BeanOct 26, 2023Oct 26, 2023
The Code BeanSOLID Principle: Roadmap to Software DevelopmentThe SOLID principles are a set of five design principles in object-oriented programming and software engineering. These principles are…Oct 23, 2023Oct 23, 2023
The Code BeanJava Object Sorting Explained: Using Comparable and ComparatorIn Java, sorting is the most common operation, and sometimes we need to sort objects based on custom criteria (classes). Two interfaces…Oct 21, 2023Oct 21, 2023
The Code BeanImplementing CSRF Security in a Spring Boot ApplicationCross-Site Request Forgery (CSRF) is a common web security vulnerability that allows attackers to make unauthorized actions on behalf of a…Oct 19, 2023Oct 19, 2023
The Code BeanProxy Design Pattern: Implementation in JavaThe Proxy Design Pattern is a structural design pattern that provides a surrogate or placeholder for another object to control access to…Oct 16, 20231Oct 16, 20231
The Code BeanObserver Design Pattern: Implementation in JavaThe Observer design pattern is a behavioral design pattern, used to create a one-to-many dependency between objects so that when one object…Oct 13, 2023Oct 13, 2023
The Code BeanStrategy Design Pattern: Implementation in JavaThe Strategy Pattern is a behavioral design pattern, that enables us to define a family of strategies, encapsulate each one of them, and…Oct 11, 2023Oct 11, 2023
The Code BeanFlyweight Design Pattern: Implementation in JavaThe Flyweight pattern is a structural design pattern that minimizes memory usage by sharing common objects as much as possible. It is…Oct 9, 2023Oct 9, 2023
The Code BeanDecorator Design Pattern: Implementation in JavaThe Decorator pattern is a structural design pattern that allows you to enhance or modify the behavior of objects at runtime. It achieves…Oct 6, 2023Oct 6, 2023