UNIT - I: JDBC Programming
2 Marks Questions:
- What are the different types of JDBC drivers and their characteristics?
- Differentiate between Statement, PreparedStatement and CallableStatement interfaces.
- What is the purpose of RowSet objects in JDBC?
5 Marks Questions:
- Explain JDBC architecture and describe the major JDBC classes and interfaces.
- Create a simple JDBC application demonstrating database connectivity and basic operations.
- Explain different types of Statement interfaces with code examples and their applications.
- Describe ResultSet operations including navigation methods and data retrieval techniques.
- Implement batch updates in JDBC and explain transaction management in database operations.
- Design and implement a complete CRUD application using JDBC with proper exception handling.
UNIT - II: J2EE and Web Development
2 Marks Questions:
- What are the different types of J2EE architecture and containers?
- Explain the role of web containers in J2EE applications.
- What is HTTP protocol and its significance in web applications?
5 Marks Questions:
- Explain J2EE architecture types and the role of different J2EE containers.
- Describe various types of servers used in J2EE applications and their functions.
- Explain HTTP protocols and API with request-response cycle in web applications.
- Describe request processing mechanism in web applications with detailed flow.
- Explain web application structure and deployment descriptor configuration.
- Compare different web architecture models and their suitability for various applications.
UNIT - III: Servlet API and Overview
2 Marks Questions:
- What is servlet life cycle and its different phases?
- Differentiate between ServletContext and ServletConfig objects.
- What are the different methods of session tracking in servlets?
5 Marks Questions:
- Explain servlet introduction, life cycle and different types of servlets with examples.
- Describe servlet configuration using deployment descriptor and web.xml file.
- Explain ServletContext and ServletConfig objects with their methods and applications.
- Implement request forwarding and response redirection using RequestDispatcher and sendRedirect.
- Explain Filter API and demonstrate response manipulation using filters.
- Implement session tracking using cookies, HTTP sessions, hidden form fields and URL rewriting.
UNIT - IV: Java Server Pages (JSP)
2 Marks Questions:
- Compare JSP with Servlets and list their advantages and disadvantages.
- What are the different types of JSP directives?
- Explain implicit objects available in JSP.
5 Marks Questions:
- Explain JSP introduction, architecture and life cycle with detailed phases.
- Describe JSP scripting elements including scriptlets, expressions and declarations.
- Explain JSP directives, action tags and their usage with practical examples.
- Describe Expression Language (EL) and JSP Standard Tag Library (JSTL) with examples.
- Implement custom tags in JSP and explain their creation and usage.
- Design a complete CRUD application using JSP with session management and exception handling.
UNIT - V: Java Web Frameworks (Spring MVC)
2 Marks Questions:
- What is Spring Framework and its core features?
- Explain dependency injection and its types in Spring.
- What are the different bean scopes in Spring?
5 Marks Questions:
- Explain Spring Framework introduction, architecture and Spring MVC module components.
- Describe the life cycle of Bean Factory and bean creation process in Spring.
- Implement constructor injection and dependency injection with practical examples.
- Explain inner beans, bean aliases and different bean scopes in Spring configuration.
- Describe Spring annotations and AOP (Aspect Oriented Programming) module with examples.
- Implement CRUD operations using Spring DAO and database transaction management.