The course is part of this learning path
In this course, we will learn the concepts of microservice and spring framework with a focus on Cloud.
Learning Objectives
- Learn about Cloud
Intended Audience
- Beginner Java developers
- Java developers interested in learning how to Build and Deploy RESTful Web Services
- Java Developers who want to develop web applications using the Spring framework
- Java Developers who want to develop web applications with microservices
- Java Developers who wish to develop Spring Boot Microservices with Spring Cloud
Prerequisites
- Basic Java knowledge
Service Aggregator. Hello, dear friends. In this video we will integrate the system-info micro service and the user-info micro service. First I will create an interface. Through this interface I will specify the system-info micro service methods that I will use. I'm using the RegisterRestClient annotation. I am writing the other services Uri-info within the baseUri value. We can define it inside server.xml as well. I will make the interface autocloseable so it can close automatically after being used. I define each method as corresponding to the system-info service. Okay, all defined. Now, I will create an application being class. I write a named annotation here as well. I will use this class methods in my user interface page. I'm injecting our integrator interface, we will use some methods of it. I'm defining the getJwt method. I am defining the getOs method. I am defining the getUsername method. Lastly, I'm defining a method to get roles. All right, dear friends, we will integrate two service projects. In the next video, we will design a simple user interface with JSF. So, I'll see you in the next lesson.
OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.