-
Spring auto-configuration
What is auto-configuration? Auto-configuration is a key feature of Springboot that contributes to rapid development of applications by eliminating the need to pre-configure resources or properties required by the application in runtime. @EnableAutoConfiguration…
-
RDMS interaction with Hibernate
Hibernate Object Relational Mapping (ORM) is an open source framework that facilitates Java program access and data persistence to a relational database management system. Hibernate is an implementation of JPA and can either…
-
Conditions in Java : If…Else
Conditional logic is common practice when different actions or tasks are required to be performed on input or data and is based on specific conditions being met. If…else Scenario: Evaluate the user’s input…
-
Streams API
The Streams API creates a sequence of items and iterates through data collections by collapsing iterations into more efficient and readable code. There are multiple ways to create a stream instance from a…
-
Access modifiers in Java
Access modifiers determine how and where variables and methods can be accessed and enable you to restrict scope to specific functionality in your program. Access modifiers supports more secure and maintainable code.
-
String Algorithms
String validation algorithms are quite common when determining the properties or attributes of the string. The output of a validation algorithm is boolean, that is, true or false. Validating all-or-nothing properties Scenario :…
-
Object-oriented programming concepts in Java
Inheritance in Java Inheritance is a way of defining relationships between classes and supports easier debugging and maintenance. A class can inherit and extend functionality from a single direct superclass. The extends keyword…
-
Structural Software Design Patterns
Structural design patterns are a way of structuring code to make it more maintainable and flexible by re-using solutions to common problems. The idea stemmed from the book “Design Patterns: Elements of Reusable…
-
Enterprise Java Beans (EJB)
Enterprise Java Beans (EJBs) is an API within the Java EE specification that provides a standard component architecture for building object-oriented business applications. EJBs are reusable Java objects or POJOs that run in…