Learn Java and Programming through articles, code examples, and tutorials for developers of all levels.
Top 15 Spring Data JPA Interview Questions with Answers
Top 18 Spring Cloud Interview Questions for Java Developers [with Answers]
Difference between JpaREpository, CrudREpository, and PagingAndSortingRepository
How to convert ByteBuffer to String in Java [Example]
How to Convert Byte array to String in Java with Example
2 Ways to Print Custom String Value of Java Enum
How to compare String Objects in Java [Example Tutorial]
How to parse String to Date in Java using JodaTime Example
How to create a Microservice in Java using gRPC? Example Tutorial
Hello guys, if you are wondering how to create Microservices in Java then you have come to the right place. Microservices architecture has gained significant popularity due to its scalability, modularity, and ease of deployment. When it comes to building microservices, gRPC (Google Remote Procedure Call) is an excellent choice for facilitating communication between services. In last few articles, I have shared how to build Microservices in Java using Spring Boot and How to build Microservices app using Quarkus and In this article, we will explore how to create a microservice application using gRPC in Java, along with a comprehensive step-by-step tutorial.
How to Create a Microservice using Quarkus in Java? Example Tutorial
What is Service Discovery in Microservices? Client Side vs Server Side Service Discovery?
How to log messages to File and Console in Java using Log4j? Example Tutorial
Hello guys, if you are wondering how to use a logging library like Log4j or SLF4j in Java then you have come to the right place. In this tutorial, you will learn how to implement logging in your Java program using the Log4j library. Log4j is a Java based open source library from Apache Software Foundation, which is widely used for logging messages in Java applications. In order to use log4j in your application, you first need to download log4j.jar files from https://logging.apache.org/log4j/2.x/download.html site. You can download either the zip version or the tar version depending upon whether you are running your Java program in UNIX or Windows. If you are using Maven then you can also add the following dependency in your pom.xml file and Maven will take care of downloading JAR files.