UNIT–1 : Core Java (Generics, Collections, Lambda)
1. What are Generics? Explain two type parameters with example.
2. Why do we need Generics? Explain how Generics make a program more flexible.
3. What is a Wildcard character? Explain its types with suitable examples.
4. What is Collection Framework in Java?
5. Explain List interface and its implementations (ArrayList, Vector) with operations.
6. Explain Set interface with suitable example.
7. Explain Map interface and its subtypes (HashMap) with all operations.
8. Difference between ArrayList and Vector with example.
9. Write a program to sort elements using ArrayList / Vector.
10. What is a Lambda Expression? Explain syntax and advantages.
11. Explain Lambda Expression with functional interface.
12. Write a program using Lambda Expression (e.g., area of triangle).
UNIT–2 : JSP Fundamentals
1. Explain JSP Architecture with a suitable diagram.
2. Explain JSP building blocks.
3. What are JSP Implicit Objects? Explain all 9 implicit objects.
4. Explain JSP Directives and its types:
o Page directive
o Include directive
o Taglib directive
5. What are JSP Actions? Explain any four standard actions with example.
6. Explain Custom Tags in JSP.
7. Explain Scripting elements in JSP with syntax and example.
8. Explain Session Management in JSP and its types.
9. Write a JSP program using Cookies for session tracking.
10. Write a Login Page using JSP Standard Actions with credential validation.
11. Explain JavaBean class and use it in JSP with <jsp:useBean>.
UNIT–3 : Spring Core (IoC, DI, Beans)
1. What is Spring Framework? Explain its architecture with diagram.
2. Explain Spring IoC Container and Configuration Metadata.
3. What are IoC containers in Spring?
4. Explain Dependency Injection (DI) and its types.
5. Explain Setter Injection with example (XML / Annotation).
6. Explain Constructor Injection with suitable example.
7. What is Circular Dependency? Explain with example.
8. What is Bean Autowiring? Explain its modes:
o byName
o byType
o constructor
o autodetect
9. How to implement bean overriding in Spring?
10. What is POJO Programming Model? Explain with example.
UNIT–4 : Spring AOP
1. What is Aspect Oriented Programming (AOP)?
2. Explain AOP terminologies:
o Aspect
o Join Point
o Pointcut
o Advice
o Target
3. Explain Types of Advice with example:
o Before
o After
o After Returning
o After Throwing
o Around
4. Which advice combines all advices into one?
5. Explain Pointcut Designators using annotations with example.
6. Explain Spring AOP configuration (XML / Annotation).
UNIT–5 : Spring JDBC & REST
1. What is JdbcTemplate? Explain its role in Spring JDBC.
2. Explain Data Access Operations using JdbcTemplate.
3. What is RowMapper Interface? Explain with example.
4. Explain commonly used JdbcTemplate methods:
o query()
o update()
o queryForObject()
5. What is Spring Boot? Explain its features.
6. What is a REST API?
7. Explain Spring Boot RESTful Web Service with example.
8. What are best practices for secure RESTful services?
9. What does REST stand for?
MOST IMPORTANT REPEATED QUESTIONS (Exam
Focus) ⭐
JSP Architecture
JSP Implicit Objects
Directives in JSP
Spring Dependency Injection
Spring AOP & Advices
JdbcTemplate & RowMapper
Lambda Expressions
Collections (List, Map, Set)
Spring Boot RESTful Web Services