How to monitor Spring Boot Microservices using ELK Stack? java Elasticsearch ELK Stack Microservices Spring Boot by devs5003 - July 16, 2021April 15, 20263 While developing an application, we always incorporate a feature in our code that can direct us what went wrong if the application fails to run normally. This feature is nothing but logging. The more work you do with logging, the less work you have to do with fixing the application issue. Typically, we keep all logging information in a text format file, called a log file. This file captures all the details such as startup of a server, activities of all users, names of classes, methods, timestamp, occurred exceptions with stack trace etc. Moreover, it depends on us what all information we require in the log file. Sometimes, these log files become larger in size and finding the exact issue manually
Behavioral Design Patterns In Java Design Core Java java by devs5003 - June 22, 2021July 7, 20250 In continuation of the second part of Design Patterns in Java, we will discuss about Behavioral Design Patterns in Java in this article. We have already covered Creational Design Patterns in Java, and Structural Design Pattern in the first & the second part respectively. The Behavioral Design Patterns deal with better interaction between objects and to provide loose coupling and flexible design. Moreover, they use various techniques to make communication between objects easier. We will discuss eleven design patterns in total in this article that come under the category of Behavioral Design Pattern. Let’s start discussing our topic ‘Behavioral Design Patterns In Java’.What are Behavioral Design Patterns in Java?Behavioral Design Patterns offer solution for the better interaction between objects and
Structural Design Patterns In Java Design Core Java java by devs5003 - June 18, 2021July 7, 20251 In continuation of the first part of Design Patterns in Java, we will discuss about Structural Design Patterns In Java in this article. We have already covered Creational Design Patterns in Java in the first part as mentioned. The Structural Design Patterns deal with different ways to create a class structure. Moreover, they use Inheritance and Composition techniques to create larger objects from small objects. We will discuss seven design patterns in total in this article that come under the category of Structural Design Pattern. Let's start discussing our topic 'Structural Design Patterns In Java'. What are Structural Design Patterns in Java? Structural patterns provide different ways to create a class structure, for example, using inheritance and composition to create a large
Creational Design Patterns In Java Design Core Java java by devs5003 - June 13, 2021October 28, 20254 As the first part of Design Patterns in Java, we will discuss about Creational Design Patterns in Java in this article. We have already covered the Introduction of Design Patterns in Java in a separate article. In the introductory part, we have already discussed about What, Why & advantages of Design Patterns. We will discuss five design patterns in total in this article that come under the category of Creational Design Patterns. Creational design patterns deal with providing solutions to instantiate an object in the best possible way for specific situations. Let's start with our topic 'Creational Design Patterns in Java' and other concepts related to it. What are Creational Design Patterns in Java? Creational design patterns provide solution to instantiate an object
Functional Interface In Java Examples Java 8 Core Java java by devs5003 - April 26, 2021March 1, 20244 Functional Interface in Java has become available for us since the introduction of new features in Java 8. Needless to say, how important functional Interfaces are in Java. If we start learning the most popular feature of Java 8: 'The Lambda Expression', we should at least know the basics of Functional Interfaces. However, you will get more than basics from this article. Moreover, they also promote functional programming in Java. Without functional Interface in Java, you can't imagine to write a code of Lambda Expression and Method References. In fact, introduction of default & static methods inside an interface in Java 8 itself has completely changed the definition of Interfaces in Java. Let's discuss our topic 'Functional Interface in Java' and
How to Implement Distributed Tracing Logging using Sleuth Zipkin Microservices java Sleuth & Zipkin Spring Cloud by devs5003 - April 21, 2021April 27, 20251 In Microservices Architecture based Applications, there are multiple services which interact with each other. In order to serve a client request, one request may involve multiple microservices call to get the response. If any exception occurs or any latency issue appears during such calls, then how will we identify the root cause of the issue? Of course, we will make use of Spring Cloud Sleuth & Zipkin to support distributed logging & Tracing. Therefore, we are going to learn about 'How to implement Distributed Tracing Logging using Sleuth Zipkin Spring Boot' and related concepts accordingly. If we are working on a Standard application, we can implement logging by adding one log file to identify any exception or other issues like response
Lambda Expression In Java java Core Java Java 8 by devs5003 - April 19, 2021November 6, 20250 Lambda Calculus is a big change in mathematical world which has been introduced in 1930. Because of benefits of Lambda Calculus slowly this concept started being used in the programming world. “LISP” is the first programming which used Lambda Expression. Simultaneously, some other languages are already using lambda expressions such as : C, C++, C# .Net, C Objective, Python, Ruby and obviously Java as well. However, our topic of discussion is 'Lambda Expression in Java'. Lambda Expression in Java is one of the crucial feature within the new features introduced in Java 8. Let's start discussing 'Lambda Expression in Java' and related concepts step by step. Why we use Lambda Expression in Java? The primary Objective of introducing Lambda Expression is to promote
How to Implement Hystrix Circuit Breaker in Microservices Application? Hystrix Circuit Breaker java Microservices Spring Cloud by devs5003 - April 9, 2021November 14, 20254 Microservices based applications feature a huge amount of distributed components. These components interact with each other during the request processing. As the number of interactions over the network increases, the possibility of an abnormal behavior of a service may also increase. In that case, we need to have some handy techniques that can prevent or minimize this abnormal behavior. Here, we are talking about none other than a fault-tolerance mechanism. The circuit breaker is fault-tolerance technique that monitors and detects when a service is behaving abnormally. It temporarily rejects those calls until the service becomes healthy again. Netflix Hystrix is an open source library which provides this solution. Hence, we are going to learn 'How to implement Hystrix Circuit Breaker in
How to add JDK 16 support in Eclipse 2021-03 ? eclipse java jdk16 by devs5003 - March 16, 2021June 1, 20221 Oracle has released JDK 16 in March, 2021 and it's general availability date is 2021/03/16. Every Java Professional should be curious to know what is new in Java 16. But, how will we test the new features of Java 16 practically? However, we have a good news for Eclipse users. In this article, we will learn 'How to add JDK 16 support in Eclipse 2021-03 ?' Thanks to Eclipse community as they provide solution for developers before every new release of JDK version. In this article, we will learn two ways of configuring JDK 16 in our eclipse. Each way will have step by step instructions to do it easily. Let's start our topic 'How to add JDK 16 support in
Microservices Architecture in Java Microservices java Spring Cloud by devs5003 - March 10, 2021November 14, 202517 microservices architecture in java The term Microservices was first introduced by Martin Fowler and used at a software architects’ workshop in 2011 for the first time. It is making a tremendous popularity among the development organizations' day by day. Likewise, the demand of Microservices developers is increasing exponentially, particularly using microservices architecture in java. But have you ever thought that why it is becoming so popular? If you are not aware of Microservices Architecture, you just need to spend some minutes with me. You will observe that maximum number of your doubts are already clear, and the remaining you will be able to clear yourself while developing a project using this concept. However, theoretically taking on microservices is easy, but practically it