Spring Boot MVC CRUD Example java MVC Spring Spring Boot by devs5003 - August 8, 2024April 7, 20267 When we develop a Web Application using Spring Boot, the knowledge of MVC pattern becomes important. Needless to say, the MVC is a short form of Model, View and the Controller. Moreover, the Spring Boot makes a developer's life easier in developing the web application using MVC architecture. Spring Boot offers us a starter project 'Spring web' to work with MVC applications. In this article 'Spring Boot MVC CRUD Example', we are going to learn entire CRUD operations that are mandatory to develop any MVC application. It will also provide you the knowledge of complete flow of MVC starting from user interface till the data layer. We will make use of Thymeleaf and Bootstrap for view part and MySQL for database.
Spring Security LDAP Authentication Example java Security Spring Spring Boot by devs5003 - August 1, 2024November 7, 20251 If you have ever implemented login feature in a production grade application, you must have heard about the LDAP authentication. LDAP can be used in any type of the hierarchical directory information. The most popular use of LDAP is to store an organizational data. A typical organization generally has directors, managers, supervisors and other positions. In other words, these are the hierarchical data where LDAP mechanism is perfect to implement. In this way, most of the organizations use it to maintain the organizational information including their credentials. We will discuss Spring Security LDAP Authentication Example in this article. In Spring based applications, LDAP is used to integrate with LDAP directories and perform various directory-related operations, such as user authentication and authorization.
Spring Cloud Essentials java Microservices Spring Boot Spring Cloud by devs5003 - July 27, 2024October 15, 20240 Whether you are a beginner or an experienced or trying to become a developer in the near future, you must have at least heard about the term Microservices. Undoubtedly, if you are working on it, you must have already had a good experience with it. Moreover, you must also have observed that the term 'Spring Cloud' comes in between while talking about Microservices. Do you know, why so? If you know it's good. If not, let's spare some time going through this article thoroughly. In this article, apart from knowing what is Spring Cloud, you will also get to know what are the features, capabilities and other fundamental concepts of Spring Cloud that are expected from a Microservices developer. Let's start
Hibernate MCQs With Answers Explained Hibernate java Java MCQ JPA MCQ Spring Data JPA by devs5003 - July 24, 2024December 15, 20241 As a Java developer, we should have a good handle on one of the frameworks used in the data layer. We are expected to have a good understanding of its basic concepts and implementation. Undoubtedly, Hibernate is one of the most popular ORM frameworks in this category. It is developed on top of JPA. In this article, we will refresh the Hibernate concepts in the form of Hibernate MCQs that are frequently asked in the interviews as well. Furthermore, you must also get benefitted in both either a written test or the interviews from these Hibernate MCQs. Here are the most important and foundation based multiple-choice questions (MCQs) on the topic “Hibernate MCQs With Answers Explained” including some code-based questions, with
How to implement AOP in Spring Boot Application? Spring Boot java Spring by shwetas8536 - July 3, 2024January 5, 20264 If you are developing an application in Spring or using Spring Boot, you must have come across the word 'AOP'. It stands for Aspect Oriented programming. Although AOP concept is a bit tough to understand, but undoubtedly it makes the developer's life easy. You will feel it more than easy once you complete this topic 'How to implement AOP in Spring Boot Application?'. In fact terminologies used in AOP concept by definition are very close to each other that makes it a bit tricky to understand effortlessly. However, we will understand all of them with suitable examples respectively. While developing an application you might have observed that there are certain lines of code which appear in every class unknowingly. What will
Java Microservices MCQ Questions & Answers Explained java MCQ Microservices by devs5003 - June 26, 2024November 13, 20251 If you are a Java developer, you are expected to have a good understanding of Microservices Concepts, both conceptual part & programming part as well. Undoubtedly, Microservices is the demanding programming pattern in the industry. Spring Boot & Spring Cloud support to develop Microservices based applications in Java. If you have a good hold on both, you will easily be able to work on it smoothly. In this article, we will refresh the Microservices concepts in the form of MCQs that are frequently asked in the interviews as well. Furthermore, you must also get benefitted in both either a written test or the interviews from these Java Microservices MCQs. Here are the most important and foundation based multiple-choice questions (MCQs) on
How to Generate Dynamic PDF Report using Spring Boot? Spring Boot java pdf by devs5003 - June 19, 2024May 1, 20255 Almost every client expects the report of data as it is in the database. The most popular & user-friendly reports are PDF & Excel. Here, in this article, we will learn how to generate dynamic PDF report. We will fetch all values from the database, no hard-coding will be done. Further to escape from hard-coding we will take some of the values from properties file. In this way we don't need to modify the java file in case we have some change requests in future. Let's get into the topic "How to Generate Dynamic PDF Report using Spring Boot?". Here we will use Spring Boot to generate our dynamic PDF. However, you can easily utilize the code from this example to
Spring MCQ with Answers Explained Part-2 java Lombok MCQ Spring by devs5003 - June 12, 2024August 4, 20250 If you are a Java developer, you are expected to have a good understanding of Spring Framework Concepts, both conceptual part & programming part as well. However, Spring Boot is the popular framework in the industry. Spring Boot is built on top of Spring Framework itself. If you have a good hold on the Spring Framework, you will easily understand Spring Boot and work on it smoothly. In this article, we will refresh our concepts in the form of MCQs that are frequently asked in the interviews as well. Furthermore, you must also get benefitted in both either a written test or the interviews from these Spring MCQ. So, whether you are a beginner or a professional, solve these Spring MCQ
Annotations In Java java Core Java by devs5003 - May 31, 2024June 2, 20245 Before the introduction of Annotations, we were extensively using XML for metadata. Using XML for metadata as configurations separates the configuration from the code. At the later stage, when enterprise applications grown up, maintenance of XML was getting inconvenienced. Also, XML loosely couples from the code, in some cases almost separates. Then architects & developers started looking for solutions which can be tightly coupled with the code instead of XML. Then the solution was an introduction to Annotations. Don't get confused with the fact that we should always prefer loose coupling as it differs in case of Annotations. You will feel the benefits almost always when you completely understand the topic 'Annotations In Java'. Just using an annotation instead of creating
How to implement Redis Cache in Spring Boot? Redis java Spring Boot by devs5003 - May 24, 2024April 7, 20265 Many a time, we all come to a phase when our application does not perform well as it is expected to. Apart from several other solutions, we also look for a caching technique to make DB calls faster. In order to make it possible, we have Redis Cache technique in place. Redis cache helps us by minimizing the number of network calls while accessing the data from DB. Needless to say, our topic of discussion in this article is 'How to implement Redis Cache in Spring Boot Application?'. Spring Boot supports this feature via the dependency 'Spring Data Redis'. In addition, we need to download Redis Server to make Redis Cache functional in the Spring Boot Application. Moreover, apart from Cache,