Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions
Friday, May 31, 2024
Top 50 Free Spring Certification Practice Questions Answers for Java Developers
Difference between Setter vs Constructor Injection in Spring
Thursday, May 30, 2024
How to sort a HashMap in Java 8 by keys and values using Stream and Lambda Expressions
Wednesday, May 29, 2024
3 ways to Find First Non Repeated Character in a String - Java Programming Problem Example
Tuesday, May 28, 2024
Can you take Spring Professional Certification without Training Course? [Yes]
Top 25 Apache Kafka Interview Questions Answers for Java Developers
Monday, May 27, 2024
Top 30 Programming questions asked in Interview - Java C C++ Answers
Saturday, May 25, 2024
12 Intermediate Database Administrator and Developer Interview Questions on Indexing
How to Manage Distributed Transaction in Microservices? SAGA and 2 Phase Commit Example Tutorial
Top 10 Websites to Learn System Design and Software Design in 2024 - Best of Lot
Friday, May 24, 2024
Top 10 System Design and Software Analysis and Design Books in 2024 - Best of Lot
Monday, May 20, 2024
100+ System Design Interview Questions and Problems for Software Engineers
Friday, May 17, 2024
Top 10 Microservices Design Patterns and Principles - Examples
Hello guys, if you are using Microservice architecture and want to learn about different Microservice design patterns and principles to better architect your application then you have come to the right place. Earlier, I have shared the best Java Microservices courses and books for Java developers, and in this article, I am going to share the essential Microservice design principle and patterns. We will cover patterns like Event Sourcing, Circuit Breaker, SAGA, CQRS, Strangler, Database per Microservices, Backend for Frontend (BFF), Service Discovery, and API Gateway and principles like Scalability, Flexibility, Resiliency, etc. When you developing an enterprise application, it is good to move with micro-services rather than move with a monolithic architecture.
Wednesday, May 15, 2024
Difference between @Autowired and @Inject annotation in Spring?
Tuesday, May 14, 2024
Top 20 Spring and REST Interview Questions Answers for Java/JEE Programmers
Monday, May 13, 2024
Top 5 Books to Learn Spring framework and Spring MVC for Java Programmers
Sunday, May 12, 2024
How to POST JSON request from Linux to test RESTful Web Services? Example
Saturday, May 11, 2024
Role based Access control using Spring Security and MVC, Mapping LDAP Groups to Authorities for Authorization
Friday, May 10, 2024
3 ways to solve java.lang.NoClassDefFoundError in Java J2EE
10 Examples of JdbcTemplate in Spring Framework
How to Solve java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener in Spring? [Example]
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,
which is common problem during deployment. Spring MVC throws java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener ,
when its not able to find org.springframework.web.context.ContextLoaderListener class which is used to load spring MVC configuration files like application-context.xml and other Spring Framework configuration files defined in context-param element of web.xml in an Spring MVC web application as:
Thursday, May 9, 2024
How to Consume JSON from RESTful Web Service and Convert to Java Object - Spring RestTemplate Example
Wednesday, May 8, 2024
Spring Boot + Kafka Example (Single and Multiple Consumer) in Java
Hello guys, if you want to use Apache Kafka with Spring Framework or Spring Boot and looking for an example then you have come to the right place. In the past, I have shared the best Spring Boot courses as well as best Apache Kafka courses for Java developers, and in this article, I am going to share how to use Apache Kafka with Spring Boot. You will learn both, to publish and consume messages from Apache Kafka topics in your Spring boot application. By the way, if you don't know, Apache Kafka is an open-source stream-processing software platform developed by LinkedIn and later they donated to Apache software foundation, king of open source development in Java world.
Monday, May 6, 2024
How to set an "Accept:" header on Spring RestTemplate request? Example Tutorial
Hello Java programmers, if you have been using Spring for REST API development, both creation and consumption then you know that RestTemplate is one of the most commonly used tools for REST service invocations. So one of the major problems you might have in this RestTemplate is that how to set an "Accept" header on Spring RestTemplate request. In the last article, I have shown you how to POST and Consume JSON using RestTemplate in a Spring Based Java application and In this tutorial, we will go through some important points on how to add headers to RestTemplate and fix the errors related to them.
Saturday, May 4, 2024
Top 133 Java Interview Questions Answers for 2 to 5 Years Experienced Programmers
Top 22 Spring Interview Questions Answers for Java Programmers [UPDATED]
How to fix @Autowired - No qualifying bean of type found for dependency in Spring Boot? [Solved]
Hello guys, if you are working in a Java and Spring Boot project and you are getting errors like "@Autowired - No qualifying bean of the type found for dependency " then you have come to the right place. Earlier, I have shared how to solve error creating bean with name in Spring framework and In this tutorial, we are going to discuss how to fix @Autowired - No qualifying bean of the type found for dependency. When we come across the org.springframework.beans.factory, we need to be careful. Whether there isn't a qualifying bean of type XXXX accessible, we should see if there is a spring bean called XXXX in the runtime. In most cases, we simply try to inject a bean that isn't defined.