ADVANCED JAVA PROGRAMMING
UNIT I: JDBC (Java Database Connectivity)
1.1 Introduction to JDBC
• Purpose of JDBC
• Key Components and Architecture
• Features of JDBC
1.2 JDBC Architecture
• Types of JDBC Drivers (Type 1–Type 4)
• Advantages and Disadvantages of Each Driver
• Use Cases for Each Driver
1.3 JDBC Statements and Interfaces
• Statement Interface
• PreparedStatement Interface
• CallableStatement Interface
1.4 ResultSet Interface
• Navigating through Records
• Retrieving Data from ResultSet
• ResultSetMetaData: Fetching Column Types and Names
UNIT II: Servlets and CGI
2.1 CGI vs Servlet
• Definition and Working of CGI
• Limitations of CGI
• Advantages of Servlets over CGI
2.2 Servlet Features
• Portability, Efficiency, Robustness
• Multithreading Support
2.3 Servlet API Overview
• [Link] Package
• [Link] Package
2.4 Servlet Life Cycle
• init(), service(), destroy()
2.5 GenericServlet and HttpServlet
• Differences
• Usage Scenarios
2.6 RequestDispatcher Interface
• Forwarding Requests
• Including Resources
2.7 Session Management in Servlet
• Session Tracking Mechanisms:
o Cookies (Definition, Use, Advantages &
Disadvantages)
o URL Rewriting
o Hidden Form Fields
o HttpSession (Methods and Use Cases)
UNIT III: JSP (JavaServer Pages)
3.1 Introduction to JSP
• Advantages of JSP over Servlets
• JSP Architecture
• JSP Life Cycle
3.2 Implicit Objects in JSP
• request, response, session, out, config, application,
pageContext, exception
3.3 JSP Scripting Elements
• Declarative Tags
• Declaration Tags
• Scriptlet Tags
• Expression Tags
• Action Tags
3.4 JavaBeans in JSP
• Introduction to JavaBeans
• Advantages and Disadvantages
• jsp:useBean, jsp:setProperty, jsp:getProperty
• Integration of Beans in JSP
UNIT IV: JSTL and Custom Tags
4.1 JSTL Core Tags
• General Purpose Tags
• Conditional Tags (e.g., if, choose)
• Iteration Tags (e.g., forEach)
• URL Management and Networking Tags
4.2 JSTL SQL Tags
• Database Access using JSTL
• Query, Update, and Param Tags
4.3 JSTL Formatting and XML Tags
• Formatting Numbers, Dates
• XML Processing Tags
4.4 Custom Tags
• Empty Tags
• Body Content Tags
• Iteration and Simple Tags
4.5 Internationalization in Java
• Locale Class
• ResourceBundle Class
• Localization in Web Applications
UNIT V: JSF and Java Frameworks
5.1 Introduction to JSF (JavaServer Faces)
• Component-Based Framework
• JSF Life Cycle
• Managed Beans and Navigation
5.2 Web Design Patterns
• MVC (Model-View-Controller)
• Front Controller Pattern
• DAO Pattern
5.3 Web Application Security
• Secure Coding Practices
• Authentication and Authorization
• HTTPS and Secure Sessions
5.4 Introduction to Java Frameworks
• Struts Framework
• Spring Framework (Overview of Modules like Spring MVC)
• Hibernate Framework (ORM Basics, Configuration, and
Sessions)