Spring Boot 3 Migration- Migrate Spring Boot 2 To Spring Boot 3 java Spring Spring Boot Spring Boot 3 by devs5003 - January 20, 2024November 18, 20253 After going through the major highlights of 'New Features in Spring Boot 3.0, it's time to check the process of Spring Boot 3 Migration ('How To Migrate Spring Boot 2 To Spring Boot 3'). Here in this article we will be talking about the step by step migration process to Spring Boot 3. Before getting into to the spring boot 3 migration process, you should go through any documentation to understand the important artifacts in the same. It always helps in minimizing any potential risk factor in the process. Let's start discussing 'How To Migrate Spring Boot 2 To Spring Boot 3'. Spring Boot 3 Migration: How To Migrate Spring Boot 2 To Spring Boot 3? Let's go through step by step
Spring Security UserDetailsService Using Spring Boot 3 java Security Spring Spring Boot Spring Boot 3 Spring Security by devs5003 - January 13, 2024November 18, 20253 In continuation to series of articles on Spring Security, here in this article we will learn 'How to implement Security in Spring Boot using UserDetailsService With Spring Boot 3?'. After going through the previous articles, I hope we all are very familiar with basics of Security and even the basics of Security in a Spring Boot application. After the release of Spring Boot 3, here we are going to implement 'Spring Security UserDetailsService Using Spring Boot 3'. In this article, we will create a user registration form and save users with their roles in the database. Then, based on the user role, we will check the authentication and authorization functionalities with the help of predefined UserDetailsService. To illustrate, we will take some
Spring AI Reference ChatGPT java Spring Spring AI Spring Boot by devs5003 - December 20, 2023March 5, 20250 In the wave of generative Artificial intelligence, everyone wants to utilize the capability of AI tools to some extent. From this prospect, the Spring community stepped forward and offered a module called 'Spring AI' in order to interact with AI tools and get the desired outcomes. Spring AI intended to simplify the development of applications that integrate artificial intelligence functionality without unneeded complications. Spring AI offers abstractions that serve as the foundation for developing AI applications. These abstractions have multiple implementations, enabling easy component swapping with minimal code changes. For example, Spring AI introduces the ChatClient interface with implementations for OpenAI and Azure OpenAI. In this Spring AI reference guide, we will talk about how to add AI in our Spring
New Features in Spring Boot 3 and Spring 6 java jdk 17 Spring Spring Boot Spring Boot 3 by devs5003 - December 16, 2023January 31, 20240 Spring Boot 3.0 is officially released in November, 2022 with some new features and improvements. This is the first major release of Spring Boot after the release of Spring Boot 2.0 around 4.5 years ago. It is also the first Spring Boot GA release to support Spring Framework 6.0. As a developer, we need to be aware of these updates in order to work smoothly with Spring Boot. Undoubtedly, one of the biggest turn in the new release was the dropping of support for older versions of Java. In this article, we will discuss about 'New Features in Spring Boot 3 and Spring 6'. What are the major highlights of the Spring 3.0 Release? The highlights of the Spring 3.0 Release incorporate:
How To Convert Java Object To JSON? java JSON Spring Boot by devs5003 - December 7, 2023May 1, 20258 Almost every Java developer come across the word 'JSON' during project development. In fact, not only the Java developer, but also other language developers, even UI developers. Almost everyone in the software industry directly or indirectly, sooner or later get a chance to work with JSON. Now you can imagine how important it is to know in & out of it. You may have a question in your mind ' How to convert Java Object to JSON' and 'How to convert JSON to Java Object?'. Although JSON syntax is very easy to write, but sometimes it creates confusion when an object is a bit complex. You must require knowledge of it when you test your application by sending or receiving JSON
Reactive Programming Spring Boot Tutorial Spring Boot java MongoDB Spring Spring Reactive Webflux by devs5003 - December 4, 2023November 25, 20256 Reactive Programming Spring Boot, Spring Boot Reactive, Reactive REST API, How to develop a Reactive Programming in Spring Boot?, Reactive Stack vs Servlet Stack, Spring Reactive Client with WebClient etc. In this article, we will discuss about ''How to develop a CRUD REST API using Reactive Programming Spring Boot?''. In other words, we will be talking about a new way of working in REST APIs which is Reactive Programming. No doubt, if we talk about the performance, this way is faster than the traditional way of developing REST. Moreover, Reactive Programming offers us to utilize application resources optimally. We will also discuss how to work with the concept of Spring WebFlux as the part of Reactive Programming and the related concepts
Microservices in Java Microservices java Spring Boot by devs5003 - December 4, 2023November 14, 202516 What are Microservices in Java, Microservices in Java Spring Boot, Microservices in Java, How to build microservices in java ?, Eureka, Resilience4j, Feign Client, Hystrix, Slueth, Zipkin, Spring Boot Admin Dashboard, Spring Boot Actuator, Java Microservices, Microservices in Java Tutorial etc. When a new architecture for developing an application comes into the market, it makes Solution Architects more busy in finding out which language to use to fulfill customer's need. No surprise!, we are just talking about Microservices Architecture that we have covered at length in another article. However, there are many languages which started using Microservices Architecture. The top five languages that are using Microservices are Java, Python, C++, Ruby and Golang. Although this data is based on the number
How to develop REST CRUD API using Spring Boot ? java Spring Boot Spring Boot REST by devs5003 - November 21, 2023August 6, 202415 It will not be an overstatement if I say that we can't develop an enterprise application without using webservices as an integration layer. Generally, we develop webservices in the form of either a producer or a consumer or both. However Producer is very important for us because we develop it in Java only. Also, we have full control of database interaction logic implementation with us. Now you might have interpreted the significance of our article 'How to develop REST CRUD API using Spring Boot?'. On the other hand, Consumer can be an Angular Application, ReactJS Application, Android Device, iOS Device and many others or even our favorite java based RestTemplate (Spring Boot REST Client). Building a RESTful CRUD (Create, Read, Update,
Spring Cloud Annotations With Examples java Microservices Spring Boot Spring Cloud by devs5003 - October 22, 2023November 14, 20250 Introduction of new Annotations reduces the development efforts day by day. Needless to say, as a developer, we can't think of the development of an enterprise level application without using annotations, especially in applications that use Spring or related frameworks. Furthermore, we come across the Spring Cloud framework when we develop a Microservices based application. Now-a-days, there is a high demand of Microservices based applications in the industry. Therefore, it becomes very crucial to know the annotations used in Spring Cloud. Hence, in this article, we are going to discuss 'Spring Cloud Annotations With Examples'. We can't deny from the fact that the cloud is the future and, in the upcoming days, we will be seeing a lot of Java based
How to reduce boilerplate code in REST API Spring Data REST java Spring Spring Boot Spring Boot REST Spring Data REST by devs5003 - October 20, 2023June 19, 20255 In previous article on REST API Development, we have already seen that how we can develop a REST API with minimum lines of code. Still, we have more scope to reduce lines of code using a concept called 'Spring Data REST' in Spring Boot. So, our title of the article is 'How to reduce boilerplate code in REST API Spring Data REST'. In Spring Data REST concept we don't have to write even RestController and its methods. The Spring Data REST dependency will take care of it using HATEOAS (Hypertext as the Engine of Application State). HATEOAS project is a library of APIs that we can use to easily create REST representations. Spring Data REST provides hyperlinks to access REST operations