Wednesday, August 30, 2023
13 Spring Boot Actuator Interview Questions Answers for 5 Years Experienced
Top 15 Spring Data JPA Interview Questions with Answers
Tuesday, August 29, 2023
Difference between Spring vs SpringBoot Framework in Java
How to access configuration values from application.properties file in Spring Boot? Example Tutorial
Hello guys, if you are wondering how to access a value defined in your spring application configuration file then you are not alone, many Java developer face the same challenge. How to access a value defined in the application.properties file in Spring Boot is a common question that arises when you dealing with large software applications. In software applications, you need to have different environments for the QA, production, and local. So as a solution for this, you can use different configurations and update the files separately without affecting other environments by using property files.
Top 18 Spring Cloud Interview Questions for Java Developers [with Answers]
Saturday, August 26, 2023
5 Best Free Online Courses to Crack AWS Cloud Practitioner Exam in 2024 - Best of Lot
Difference between JpaREpository, CrudREpository, and PagingAndSortingRepository
Top 5 Free HTML and CSS Courses for Beginners to Learn in 2024 - Best of Lot
Friday, August 25, 2023
5 Best Free Cloud Computing Courses for Beginners to Join in 2024 [UPDATED]
Thursday, August 24, 2023
Top 5 Project Based Courses to learn Laravel and PHP for Web Development in 2024 - Best of Lot
Tuesday, August 22, 2023
Difference between @AutoWired and @Qualifier in Spring Framework?
Monday, August 21, 2023
What is @Conditional annotation in Spring Framework? Example Tutorial
Saturday, August 19, 2023
Difference between @Controller vs @RestController in Spring Framework
Spring Framework is a popular open-source application framework that provides infrastructure support for developing Java applications. One of the essential components of Spring Framework is the controller, which is used to handle HTTP requests and provide responses to clients. In Spring, there are two types of controllers: @Controller and @RestController.
Friday, August 18, 2023
How to convert ByteBuffer to String in Java [Example]
How to Convert Byte array to String in Java with Example
Thursday, August 17, 2023
2 Ways to Print Custom String Value of Java Enum
How to compare String Objects in Java [Example Tutorial]
10 Things Web Developers Should Learn in 2024 [UPDATED]
How to parse String to Date in Java using JodaTime Example
Top 5 Next.js and React.js Framework Courses to learn in 2024 - Best of Lot [UPDATED]
Tuesday, August 15, 2023
How to Accept and Produce JSON as a response in Spring Boot? Example Tutorial
Hello everyone, welcome to the blog post. In this short tutorial, we are going to take an in-depth look at how to consume and produce JSON responses using a widely appreciated Java framework i.e. Spring Boot. As we all know Spring Boot is a framework designed to build a secure web application, microservice, REST API, and production-ready spring application. Modern-day application deals in a large amount of data, which they share in JSON format. A JSON is a standard plain text-based representation of structured data. It is one of the popular formats for data transmission over the internet. Due to its user-friendly syntax and lightweight, it helps in the process faster.
Sunday, August 13, 2023
Top 6 Spring Security Online Training Courses for Java Developers in 2024
Saturday, August 12, 2023
How to configure multiple data sources in Spring Boot? Example Tutorial
How to Solve "Error starting Application Context" in Spring Framework?
Hello guys, Spring Boot is a popular framework for building Java applications, providing a streamlined development experience. However, like any software, Spring Boot applications can encounter errors during startup. One common error that developers may encounter is the "Error starting ApplicationContext" error. This error typically indicates an issue with the application's configuration or dependencies but it's really hard to find what exactly is wrong and how to fix it. In the past, I have shared tips on how to fix error creating bean error and In this article, we will explore various solutions to fix this error and ensure a successful startup of your Spring Boot application.
Top 5 Courses to Learn Quarkus for Java Microservices online in 2024 - Best of Lot
Wednesday, August 9, 2023
Difference between @RequestParam and @PathVariable in Spring MVC
Top18 Spring Cloud Features for Microservices Architecture in Java
Tuesday, August 8, 2023
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.
Sunday, August 6, 2023
How to Create a Microservice using Quarkus in Java? Example Tutorial
What is Service Discovery in Microservices? Client Side vs Server Side Service Discovery?
Friday, August 4, 2023
What is Backend for front-end pattern in Microservices? How to use it? Example Tutorial
How to use Deque Data Structure in Java? Example Tutorial
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.
Thursday, August 3, 2023
Differences between OAuth 2.0 and JWT (JSON Web Token)
Hello guys, both OAuth 2.0 and JWT (JSON Web Tokens) are two widely used authentication and authorization protocols in modern web applications. While both serve similar purposes, there are some key differences between the two that are important to understand, which we will see in this article. This is also an important interview question and if you are preparing for Java and Microservices developer interviews, it's better to know how this two technology works and what are the key differences between then. In short, OAuth 2.0 is primarily used for authorization, whereas JWT is primarily used for authentication. OAuth 2.0 uses access tokens, whereas JWT is a self-contained token. OAuth 2.0 has a complex authorization flow, whereas JWT has a simple flow. OAuth 2.0 provides better security as it reduces the risk of unauthorized access to protected resources, while JWT can be intercepted if not properly secured. OAuth 2.0 access tokens are short-lived and need to be refreshed periodically, whereas JWTs do not expire.