Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions
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.
Is "Java Concurrency in Practice" still Valid in the Era of Java 21?
Friday, May 3, 2024
Difference between @Component, @Service, @Controller, and @Repository in Spring
Wednesday, May 1, 2024
Top 20 Spring Framework Annotations Java Developers Should Know
Tuesday, April 30, 2024
Top 10 Java and Web Development Courses from Udemy in 2024 - Best of Lot
Sunday, April 28, 2024
Top 17 Spring AOP (Aspect-Oriented Programming) Interview Questions Answers
20 Design Patterns and Software Design Interview Questions for Programmers
Saturday, April 27, 2024
Top 5 Spring Boot Features for Java Development
Friday, April 26, 2024
What is bean scope in Spring Framework? Example Tutorial
Thursday, April 25, 2024
Difference between @RequestMapping and @GetMapping in Spring MVC? Example
Wednesday, April 24, 2024
Spring Boot @Transactional Annotation Example - How to Manage Transactions using Spring Framework?
Tuesday, April 23, 2024
4 Ways to take Heap dump in Tomcat and Java and 3 Tools to Analyse .hprof files
Monday, April 22, 2024
Top 50 Java 8 Stream, Lambda, and Functional Programming Interview Questions
Sunday, April 21, 2024
Top 3 Design Patterns and Best Practices Java Developers Can Learn From Spring Framework
2 Reasons of org.springframework.beans.factory.BeanCreationException: Error creating bean with name [Solution]
Top 21 Spring Framework and Spring Boot Testing Interview Questions Answers for 2 to 5 Years Experienced
Saturday, April 20, 2024
10 Example of find command in UNIX and Linux
Friday, April 19, 2024
Differences between @RequestParam and @PathVariable annotations in Spring MVC?
Top 25 Spring Security Interview Questions Answers for Java Developers
Thursday, April 18, 2024
How Spring MVC Framework works? How HTTP Request is processed?
Friday, April 12, 2024
Top 7 Spring and Hibernate Training Courses for Java JEE Programmers in 2024 - Best of Lot
Thursday, April 11, 2024
10 Examples of @RequestMapping Annotation in Spring MVC and REST
Top 10 Java Programming Courses for Beginners to Learn Online in 2024 - Best of Lot
Top 5 Courses to learn Microsoft Azure Cloud in 2024 - Best of Lot
Top 3 Books to Learn Java for C and C++ Programmer?
Wednesday, April 10, 2024
How to limit Concurrent Login Sessions in a Java web application using Spring Security? Example
2 Ways to setup LDAP Active Directory Authentication in Java - Spring Security Example Tutorial
Entuware or Whizlabs? Which Exam Simulator Should you Buy for Java Certifications (OCAJP, OCPJP, and Others)?
Monday, April 8, 2024
How HTTP Basic Authentication works in Spring Security? Explained
Top 5 Software Development and Project Management Books - Best of Lot, Must Read
How to send HTTP request using curl and wget command from Linux and UNIX? Example Tutorial
How to Prepare for Java 8 Certifications - Oracle Java SE 8 Programmer 1 (1Z0-808) and II (1Z0-809)
How to Fix Exception in thread "main" java.util.ConcurrentModificationException in Java? [Solved]
How to fix java.lang.numberformatexception for input string null - Cause and Solution
How to fix java.net.SocketException: Software caused connection abort: recv failed
Top 7 Online Courses to learn AWS (Amazon Web Services) in 2024 - Best of Lot
3 ways to solve java.lang.NoClassDefFoundError in Java J2EE
How to Sort an HashMap by values in Java 8 - Example Tutorial
10 Example of lsof commands in Linux and UNIX
How to Convert a Lambda Expression to Method Reference in Java 8?
Does Oracle's Java Certifications is Good to Start your Career as Java Developer?
4 Ways to find Nth highest salary in SQL - Oracle, MSSQL and MySQL
Sunday, April 7, 2024
Review - Is Grokking Algorithms book by Aditya Bhargava worth it?
Top 5 Books to Learn Docker for Beginners - Best of Lot
Top 5 Books to Learn Core Java for Beginners - Best of Lot
SQL Self Join Example - SQL Query to Find Employees Earning More Than Managers - LeetCode Solution
Write an SQL Query to Find Employees Earning More Than Managers
The Employee table holds all employees, including their managers. Every employee has an Id, and there is also a column for the manager Id, as shown below:
+----+-------+--------+-----------+
| Id | Name | Salary | ManagerId |
+----+-------+--------+-----------+
| 1 | Joe | 70000 | 3 |
| 2 | Henry | 80000 | 4 |
| 3 | Sam | 60000 | NULL |
| 4 | Max | 90000 | NULL |
+----+-------+--------+-----------+
Given the Employee table, write a SQL query that finds employees who earn more than their managers. For the above table, Joe is the only employee who earns more than his manager because Henry's Manager is Max, who earns 90000, which is more than Henry's salary of 80000.
Difference between row_number(), rank() and dense_rank() window functions in SQL
Top 8 Courses to Learn Software Architecture for Experienced Programmers in 2024 - Best of Lot
Saturday, April 6, 2024
Top 10 Java map() and flatMap() Functional Programming Coding Problems with Solutions
Friday, April 5, 2024
Top 10 Free Courses for System Design Interviews in 2024 - Best of Lot
Thursday, April 4, 2024
DesignGuru.io Review - Is Grokking Advanced System Design Interview Course Worth it?
Wednesday, April 3, 2024
Top 7 Courses to learn PostgreSQL Database in 2024 - Best of Lot
How to Crack System Design Interview in 2024? [The Ultimate Guide]
Tuesday, April 2, 2024
Top 6 Courses to learn Django Framework in 2024 - Best of Lot
[Udemy Course Review] - Is Java 17 Masterclass: Start Coding in 2024 by Tim Buchalka Worth it?
Monday, April 1, 2024
Educative Review - Is Grokking Modern System Design for Software Engineers and Managers worth it?
Top 10 System Design Interview Courses in 2024 - Best of Lot
Sunday, March 31, 2024
Top 8 Courses to learn Reactive Spring Boot and WebFlux in 2024 - Best of Lot
ByteByteGo Review - Is ByteByteGo System Design Course by Alex Xu Really Worth it in 2024?
Saturday, March 30, 2024
Top 15 Udemy Courses to Learn Essential Skills for Programmers in 2024 - Best of Lot
Friday, March 29, 2024
Top 10 Courses to Learn Spring Boot in 2024 for Java Developers - Best of Lot
Wednesday, March 27, 2024
How to Compare Date in SQL Server Query? Finding All Rows Between Two Dates
select * from table where date = '20151007'
It may or may not, it entirely depends on upon data in your table. When you only provide date part of a DateTime variable, it uses '00:00:00.000' for the time part.