Hello guys, I am very excited to announce the release of my new book, Grokking the Spring Boot Interview and you can grab your copy for a special price of $10.99 on Gumroad. Ever since I talked about this book, after the success of my first book in 10 years, Grokking the Java Interview, I have received a lot of positive response which motivates me to work on this book and I really wish that my books on Java and Spring interviews will guide you to find the Java developer job you always wish for. If you have given any Java interviews recently then you may know that Java Interviews are notoriously tough to crack. Not because they ask impossible algorithmic questions like Google or Amazon but because of the vast nature of Java API, Frameworks and Libraries.
Learn Java and Programming through articles, code examples, and tutorials for developers of all levels.
Grokking the Spring Boot Interview — 50% Off for Java Developers
Hello guys, I am very excited to announce 50% discount for my book, Grokking the Spring Boot Interview and you can grab your copy for a special price of $10.99 on Gumroad. Ever since I talked about this book, after the success of my first book in 10 years, Grokking the Java Interview, I have received a lot of positive response which motivates me to work on this book and I really wish that my books on Java and Spring interviews will guide you to find the Java developer job you always wish for. If you have given any Java interviews recently then you may know that Java Interviews are notoriously tough to crack. Not because they ask impossible algorithmic questions like Google or Amazon but because of the vast nature of Java API, Frameworks and Libraries.
Difference between @Controller vs @RestController in Spring Boot
Hello friends, if you are preparing for Java and Spring Developer interview then you may have come across "difference between @Controller and @RestController annotation" in Spring Boot and Spring Framework in general. It's one of the popular spring question which I have also mentioned in my list of 25 Spring Framework questions earlier
Difference between @AutoWired and @Qualifier in Spring Framework?
What is @Conditional annotation in Spring Framework? Example Tutorial
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.
Difference between @RequestParam and @PathVariable in Spring MVC
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.
3 Ways to return different content types from Spring MVC Controller? @RequestMapping and ResponseEntity Example Tutorial
Difference between @RequestParam vs @RequestBody in Spring MVC? (with Example)
What is @Component annotation in Spring? What does it do?
What is ContextLoaderListener in Spring MVC? Example Tutorial
What is @PropertySource Annotation in Java and Spring? PropertySource Example Spring Boot
How @Configuration, @Component, and @ComponentScan annotations works in Spring Framework? Component Scanning Example
How does HTTP Request is handled in Spring MVC? DispatcherServlet Example Tutorial
What is the use of DispatcherServlet in Spring MVC? Interview Question Example
What is @Bean Annotation in Spring Framework? Example Tutorial
Difference between @GetMapping @PostMapping @PutMapping @DeleteMapping @PatchMapping
In the world of web development, the Spring Framework is widely known for its versatility and ease of use. It provides several annotations that simplify the process of handling HTTP requests and mapping them to specific methods in Spring controllers. Among these annotations, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, and @PatchMapping are some of the most commonly used ones. In this article, we will explore each of these annotations in detail, highlighting their purposes, differences, and providing examples to better understand their usage.
13 Spring Boot Actuator Interview Questions Answers for 5 Years Experienced
Difference between Spring Boot vs Spring Cloud in Java
Hello guys, if you are wondering, what is difference between Spring Boot and Spring Cloud then you re not alone. Many Java developer are not familiar with various spring boot projects like Spring Security, Spring Data JPA, Spring Batch, Spring Boot, Spring Cloud etc and this lack of knowledge prevent them from taking full advantage of Spring Framework. In last article, I have explained difference between Spring framework and Spring Boot and in this article we are going to discuss the difference between Spring Boot and Spring Cloud. Before we dive into the difference between the two terms. Let us take a look at different terms like Spring, Spring Boot, and Spring Cloud.