Spring WebFlux CRUD Example java Spring Spring Boot Spring WebFlux by devs5003 - August 13, 2024August 15, 20240 All Java developers must have worked on traditional REST APIs at some point in their career. Other than the traditional approach of developing a REST API, now we have a new upgraded way of doing it. Reactive Programming as a new approach to working with REST APIs. Compared to traditional REST development, this approach is faster and offers for optimal resource utilization. In this article, we will work on the concepts of Spring WebFlux, which comes under the Reactive Programming model. Spring WebFlux is a reactive web framework built on top of Spring Framework 5, designed to handle the demands of modern web applications. Spring WebFlux provides a non-blocking and event-driven programming model that allows developers to build scalable and high-performance
Spring Boot MVC CRUD Example java MVC Spring Spring Boot by devs5003 - August 8, 2024August 10, 20245 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, 2024September 30, 20240 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, 2024July 30, 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, 2024July 27, 20240 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 Sort the List in Java 8 Core Java Interview java Java 8 by devs5003 - July 14, 2024July 16, 20240 During project development, every developer come across a situation where implementation of sorting becomes mandatory. There are many flavors of sorting. It depends on the scenario which one to implement where. In this article, we have mainly focused on sorting using Java 8. Moreover, we have also provided an example which was being used before the introduction of Java 8. Hence our article is on 'How To Sort the List in Java 8'. Sorting a list using Java 8 can be more performant due to the introduction of the Java Stream API and lambda expressions, which enable more efficient sorting operations. There are multiple ways to sort a list of items already available before Java 8. Further, Java 8 has introduced different
Collection MCQ in Java with Answers Explained Collections collections in java Core Java java MCQ by devs5003 - July 7, 2024July 11, 20240 Definitely, Collections are the most important for a Java developer. You can't imagine even a minor project in Java without the use of Collections. Moreover, in order to work in an industry level project, you must have a good grasp on Collections in Java. Apart from going through theoretical concepts multiple times, it is highly advisable that developers need much practice & revision of concepts. One of the ways to achieve this is by attempting FAQs/MCQs on collections. In this article, we will be doing theoretical practice on ‘Java Collections’ in the form of MCQs that are frequently asked in the interviews as well. Definitely, you must find this article 'Collection MCQ in Java with Answers Explained' beneficial whether it is
How to implement AOP in Spring Boot Application? Spring Boot java Spring by shwetas8536 - July 3, 2024July 8, 20242 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, 2024September 11, 20241 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, 2024July 19, 20244 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