Senior Developer Java Interview Questions

5,296 senior developer java 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?

In this technical challenge, you will build a SpringBoot web application that integrates with a PostgreSQL database and uses Docker to run in a container. The application should have a REST API that allows users to perform CRUD (create, read, update, delete) operations on a data model representing a simple e-commerce platform. The REST API should be defined using OpenAPI.
avatar

Sr. Java Developer

Interviewed at TeamViewer

3.4
Jan 29, 2024

In this technical challenge, you will build a SpringBoot web application that integrates with a PostgreSQL database and uses Docker to run in a container. The application should have a REST API that allows users to perform CRUD (create, read, update, delete) operations on a data model representing a simple e-commerce platform. The REST API should be defined using OpenAPI.

Viewing 3251 - 3260 interview questions

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