Microservices in Java Microservices java Spring Boot by devs5003 - December 4, 2023May 3, 202616 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
Lombok Spring Boot And Lombok Annotations Lombok Java Core Java java Lombok Spring Boot by devs5003 - September 16, 2023December 11, 202517 While developing a project in Java, we tend to repeat the similar kind of code for each class we create. Such kind of repetitive code is generally called boilerplate code. Our next question might be like 'Can we get rid of such multiple lines of code in real time development?' Then answer of your question is simply 'Yes'. The next question should be 'How can we reduce such kind of boilerplate code?' Now the answer is 'with the help of Lombok API, some people call it Lombok Project'. However, as the title "Lombok Spring Boot and Lombok Annotations" suggests, our focus in this article will be on the Lombok API Annotations. Furthermore, the 'Lombok API' is highly being used in the
MCQ on Spring and Hibernate Hibernate java Java MCQ MCQ Spring Spring Boot by devs5003 - September 14, 2023May 5, 20251 Rather than going through some theoretical or practical way of learning Spring & Hibernate frameworks, we will test our understanding of Spring & hibernate via solving multiple choice questions (MCQs). In this article, we will talk about 'MCQ on Spring and Hibernate'. Answer & Explanation of each question are provided next to each question. These questions are newly introduced on the web for the first time, having been created with significant effort. You may also find these questions in some other websites/blogs after publishing this page. Someone who likes the questions & interested in copying the questions can just provide a reference of this page as a link rather than copying the whole questions. Examiners, test conductors are encouraged to make use
logback xml Configuration Examples java Logging Spring Spring Boot by devs5003 - August 23, 2023May 3, 20262 When it comes to implementing Logging feature in our application, especially in Spring Boot based applications, Logback comes into the picture. Typically, logback configuration comes in the form of XML file (logback.xml) for the developers to use. It provides a powerful, responsive, and reliable solution in configuring the application's logging. It ensures consistent and customizable logging behavior, simplify maintenance, and offers dynamic adjustments. All of them are crucial for effective application monitoring, debugging, and troubleshooting. Logback is an open-source project with a strong engagement to reliability and robustness. Logback offers a broad range of configuration options through logback.xml, allowing us to customize our logging setup to accurately match our application's requirement. We can control log levels, formats, destinations, and filtering rules.
Logger In Spring Boot java Logging Spring Spring Boot by devs5003 - August 15, 2023May 3, 20261 We often pay very less attention on the implementation of logging during the development phase of an application. On the other hand, it becomes mandatory when we deploy the application in production. Sometimes we just insert 'System.out.println' statements as a shortest path, which is a bad practice in the production level applications. Logging serves as a crucial tool for developers by providing insights into the inner workings of an application. It also assists in diagnosing issues, and helping in the overall monitoring and maintenance of the software. In this article, we will learn logger in Spring Boot and related concepts with extensive amount of examples. What is a Log? In software development, "log" represents a report containing the history of events, activities, or
How to deploy Spring Boot Application in Docker? Docker java Spring Boot by devs5003 - July 29, 2023May 20, 20264 Have you ever observed that an application runs successfully in development environment, but the same application with the same code creates multiple issues while running in the production environment? If not, you may observe this in near future when you follow traditional deployment procedure. Generally in traditional deployment, we copy the code from development server to the production server and carry out some other configurations. Further to avoid issues generated during production deployment, we should once think of Docker concept. Therefore, we are going to learn 'Spring Boot Docker: How to deploy Spring Boot Application in Docker?'. If you are a Java developer working in IT industry for the last few years, then you must have heard about Docker. Docker and
Spring Boot MVC REST Annotations With Examples Spring Boot java Spring by devs5003 - July 24, 2023May 3, 20261 In this article, we will discuss on 'Spring Boot MVC REST Annotations With Examples'. Needless to say, these annotations are very important for creating a web application in Spring Boot. If you want to learn all annotations which are generally used in a Spring Boot Project, kindly visit our article 'Spring Boot Annotations with Examples'. Let's discuss about 'Spring Boot MVC REST Annotations With Examples' here only. Spring Boot MVC REST Annotations With Examples Spring MVC and Spring REST are two different aspects of the Spring Framework. These both deal with building web applications, but they fulfil different purposes and use slightly different sets of annotations. Spring MVC (Model-View-Controller) is a design for building web applications that follow the traditional Model-View-Controller pattern. We