Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement this pattern we will be using Interfaces and classes. The interface declares a behaviour and concrete classes define the behaviour. …
Decorator Pattern A decorator pattern allows a user to add new functionality to an existing object without altering its structure. Example But rather than being a decorator, this pattern looks ugly. Using Lambda makes creating …
Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows object composition to achieve the same code reuse as an inheritance. In delegation, an object handles a request by delegating …
Technology has emerged a lot in the last decade, and now we have artificial intelligence; the medical sector has become more advanced, and all other technology sectors are futuristic now. One of the best examples …
Managing a database is becoming increasingly complex now due to the vast amount of data being produced continuously. Therefore a number of database management systems have been released. One of these is MongoDB which was …
Overview In this article, we will explore Spring Scheduler how we could use it by @Scheduled annotation in the Spring Boot application. We can use it to configure and schedule tasks. @Scheduled Annotation Spring Boot …
Overview In this article, we will explore a simple Spring Boot application to implement a simple Spring configuration for a Spring Data JPA with multiple databases requirements. Create an application to store information related to …