Gujarat Technological University: W.E.F. AY 2018-19
Gujarat Technological University: W.E.F. AY 2018-19
Bachelor of Engineering
Subject Code: 3160707
Semester – VI
Subject Name: Advance java Programming
Rationale: Web application based on Java uses Servlet, JSP, JSF. To store the data database connectivity
and database JDBC component is needed. Networking components are needed to transfer data over
network. Model-View-Controller (MVC) architecture gives flexibility and makes the web applications
loosely coupled.
Content:
Sr. Content Total Marks
No. Hrs Weight
age
(%)
1 04 05
Java Networking
Network Basics and Socket overview, TCP/IP client sockets, URL, TCP/IP server
sockets, Datagrams, java.net package Socket, ServerSocket, InetAddress, URL,
URLConnection
2 06 10
JDBC Programming
The JDBC Connectivity Model, Database Programming: Connecting to the Database,
Creating a SQL Query, Getting the Results, Updating Database Data, Error Checking
and the SQLException Class, The SQLWarning Class, The Statement Interface,
PreparedStatement, CallableStatement The ResultSet Interface, Updatable Result Sets,
JDBC Types, Executing SQL Queries, ResultSetMetaData, Executing SQL Updates,
Transaction Management.
3 08 25
Servlet API and Overview
Servlet Model: Overview of Servlet, Servlet Life Cycle, HTTP Methods
Structure and Deployment descriptor
ServletContext and ServletConfig interface, Attributes in Servelt, Request Dispacher
interface
Page 1 of 3
w.e.f. AY 2018-19
GUJARAT TECHNOLOGICAL UNIVERSITY
Bachelor of Engineering
Subject Code: 3160707
The Filter API: Filter, FilterChain, Filter Config
Cookies and Session Management: Understanding state and session, Understanding
Session Timeout and Session Tracking, URL Rewriting
4 06 25
Java Server Pages
JSP Overview: The Problem with Servlets, Life Cycle of JSP Page, JSP Processing, JSP
Application Design with MVC, Setting Up the JSP Environment,
JSP Directives, JSP Action, JSP Implicit Objects
JSP Form Processing, JSP Session and Cookies Handling, JSP Session Tracking
JSP Database Access, JSP Standard Tag Libraries, JSP Custom Tag, JSP Expression
Language, JSP Exception Handling, JSP XML Processing
5 Java Server Faces2.0 06 10
Introduction to JSF, JSF request processing Life cycle, JSF Expression Language, JSF
Standard Component, JSF Facelets Tag, JSF Convertor Tag, JSF Validation Tag, JSF
Event Handling and Database Access, JSF Libraries: PrimeFaces
6 Hibernate 4.0 06 15
Overview of Spring, Spring Architecture, bean life cycle, XML Configuration on Spring,
Aspect – oriented Spring, Managing Database, Managing Transaction
Page 2 of 3
w.e.f. AY 2018-19
GUJARAT TECHNOLOGICAL UNIVERSITY
Bachelor of Engineering
Subject Code: 3160707
Books
1) Black Book “ Java server programming” J2EE, 1st ed., Dream Tech Publishers, 2008. 3. Kathy
walrath ”
2) 2. Complete Reference J2EE by James Keogh mcgraw publication
3) 3. Professional Java Server Programming by Subrahmanyam Allamaraju, Cedric Buest Wiley
Publication
4) 4. SCWCD, Matthew Scarpino, Hanumant Deshmukh, Jignesh Malavie, Manning publication
5) 5. Core Java, Volume II: Advanced Features by Cay Horstmann and Gary Cornell Pearson
Publication
6) 6. Java Persistence with Hibernate by Christian Bauer, Gavin King
7) 7. Spring in Action 3rd edition , Craig walls, Manning Publication
8) 8. Hibernate 2nd edition, Jeff Linwood and Dave Minter, Beginning Après publication
9) 9. Java Server Faces in Action, Kito D. Mann, Manning Publication
10) 10. JDBC™ API Tutorial and Reference, Third Edition, Maydene Fisher, Jon Ellis, Jonathan Bruce,
Addison Wesley
11) 11. Beginning JSP, JSF andTomcat, Giulio Zambon, Apress
12) 12. JSF2.0 CookBook, Anghel Leonard, PACKT publication
List of Practical:
1. Implement TCP Server for transferring files using Socket and ServerSocket.
2. Implement cookies to store firstname and lastname using Java server pages.
3. Implement the shopping cart for users for the online shopping. Apply the concept of session.
4. Implement student registration form with enrollment number, first name, last name, semester,
contact number. Store the details in database. Also implement search, delete and modify facility
for student records.
5. Write a Servlet program to print system date and time.
6. Design a web page that takes the Username from user and if it is a valid username prints
“Welcome Username”. Use JSF to implement.
7. Write Hibernate application to store customer records and retrieve the customer record
including name, contact number, address.
8. Write an application to keep record and retrieve record of student. The record includes student
id, enrollment number, semester, SPI. Use MVC arechitecture.
Page 3 of 3
w.e.f. AY 2018-19