0% found this document useful (0 votes)
6 views2 pages

Advanced Java Interview Questions Guide

The document contains advanced Java interview questions covering topics such as JDBC vs. Hibernate, transaction management, Servlets, JSP, Spring framework, RESTful services, and microservices architecture. It addresses key concepts like MVC, dependency injection, Spring Security, and service discovery with Eureka. Additionally, it contrasts SOAP and REST web services and discusses tools like Feign Client and Hystrix for microservices resilience.

Uploaded by

Chandana B
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Advanced Java Interview Questions Guide

The document contains advanced Java interview questions covering topics such as JDBC vs. Hibernate, transaction management, Servlets, JSP, Spring framework, RESTful services, and microservices architecture. It addresses key concepts like MVC, dependency injection, Spring Security, and service discovery with Eureka. Additionally, it contrasts SOAP and REST web services and discusses tools like Feign Client and Hystrix for microservices resilience.

Uploaded by

Chandana B
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Advanced Java Interview Questions (Java EE, Spring, REST, Microservices)

- What is the difference between JDBC and Hibernate?

- How do you manage transactions in JDBC?

- What is connection pooling and why is it important in Java EE?

- How do you use Servlets in a Java web application?

- What are the different types of JSP directives?

- What is the Model-View-Controller (MVC) architecture in Java?

- How does a Java web server handle a client request?

- What is the role of the deployment descriptor ([Link]) in a web application?

- How do you handle session management in Servlets and JSP?

- What is the difference between forward and redirect in Servlet?

- How do you create a custom tag in JSP?

- What are filters in Java EE and how are they used?

- What is the purpose of listeners in a Java web application?

- What is the difference between ApplicationContext and BeanFactory in Spring?

- How do you perform dependency injection in Spring?

- What are the scopes of Spring beans?

- What is the role of DispatcherServlet in Spring MVC?

- How do you create RESTful web services in Spring Boot?

- How do you handle exceptions in Spring MVC?

- What is the difference between @Component, @Service, @Repository, and @Controller?

- What is the purpose of Spring Data JPA?

- How do you perform validation in Spring Boot applications?

- How do you secure a Spring Boot application using Spring Security?

- What is a microservice and how is it different from a monolithic application?

- How do you use Eureka for service discovery in Spring Cloud?


- What is the use of Feign Client in Spring Cloud?

- How does Hystrix help in building resilient microservices?

- What is the role of API Gateway in a microservices architecture?

- What is the difference between SOAP and REST web services?

- How do you consume REST APIs in Java using RestTemplate or WebClient?

You might also like