Senior Java Developer Interview Questions

5,543 senior java developer interview questions shared by candidates

Q1. Spring Security - JWT & AuthO Q2. How many methods to establish the communications between microservices? Q3. Difference between Kafka and RabbitMQ. Q4. How to deploy an application to EC2? Q5. What is Docker and explain some of its commands. Q6. What is Kubernetes and explain some of its commands. Q7. Which microservices design patterns have you used in your application? Q8. What are design patterns? Q9. What is the output of 2.0/0.0? Q10. There are N resources and N threads. You need to assign each thread to each resource so that there shouldn’t be a Thread DeadLock condition. Q11. Difference between Servlets and Common Gateway Interface(CGI). Q12. Difference between Hibernate and JDBC. Q13. Difference between Clustered and non-clustered Image. Q14. Explain the Single-row & Multi-row function. Q15. How many types of indexes are there and explain. Q16. If there is no Foreign Key in between two tables then how will you fetch the data? Q17. Difference between Self-join and Equi-join. Q18. Difference between JRE and JIT and explain. Q19. There is a Junior developer who committed and pushed the faulty 100s of lines of code without telling anyone. You got to after weeks of this incident happening. How will you tackle the situation and what are your future actions? Q20. You have pulled from a source branch and got some merge conflicts. You want to keep your changes. How will you resolve merge conflicts?
avatar

Senior Java Developer

Interviewed at Inspiron Labs

3.8
Mar 11, 2025

Q1. Spring Security - JWT & AuthO Q2. How many methods to establish the communications between microservices? Q3. Difference between Kafka and RabbitMQ. Q4. How to deploy an application to EC2? Q5. What is Docker and explain some of its commands. Q6. What is Kubernetes and explain some of its commands. Q7. Which microservices design patterns have you used in your application? Q8. What are design patterns? Q9. What is the output of 2.0/0.0? Q10. There are N resources and N threads. You need to assign each thread to each resource so that there shouldn’t be a Thread DeadLock condition. Q11. Difference between Servlets and Common Gateway Interface(CGI). Q12. Difference between Hibernate and JDBC. Q13. Difference between Clustered and non-clustered Image. Q14. Explain the Single-row & Multi-row function. Q15. How many types of indexes are there and explain. Q16. If there is no Foreign Key in between two tables then how will you fetch the data? Q17. Difference between Self-join and Equi-join. Q18. Difference between JRE and JIT and explain. Q19. There is a Junior developer who committed and pushed the faulty 100s of lines of code without telling anyone. You got to after weeks of this incident happening. How will you tackle the situation and what are your future actions? Q20. You have pulled from a source branch and got some merge conflicts. You want to keep your changes. How will you resolve merge conflicts?

Viewing 3401 - 3410 interview questions

Glassdoor has 5,543 interview questions and reports from Senior java developer interviews. Prepare for your interview. Get hired. Love your job.