CT506A-N Advanced Java Programming
CT506A-N Advanced Java Programming
This course introduces the students to the advanced topics of Java Programming technology, which helps
students to prepare themselves for the industry standards and develop various business enterprise
applications as well as client-server and web applications.
Course Objective:
This course aims to
• Teach the Students for developing interactive user-friendly interfaces using the Java Swing class and
appropriate layout managers.
• Teach the database connectivity with Java programming
• Explain the enterprise architectures.
• Simulate the networking in java.
• Educate the students for developing web-based applications using Advanced Java Technologies.
Sr. Minimum
Title of the Unit
No Hours
1 Swing 6
2 JDBC 6
3 Java Networking and J2EE 7
4 Servlets, Event Listeners and Filters 8
5 Java Server Pages and JSTL 7
6 Hibernet 4.0 7
7 Spring MVC 7
Detailed Syllabus
Lecture Weightage
No Topic
(Hrs) (%)
Swing : JFC, MVC Architecture; difference between AWT and Swing,
Components from javax.swing package – Jcomponent, JFrame,
1 6 12
JWindow, JLabel, JButton, JTextComponent, JToggleButton,
JradioButton, JCheckbox ; Pluggable Look and Feel
JDBC: Components of JDBC; JDBC Architecture; JDBC Drivers, CURD
operation Using JDBC and java.sql package, DriverManager Class,
2 6 12
Driver, Connection, Statement and Resultset Interfaces, difference
between java.sql and javax.sql
Java Networking and J2EE : Network Programming in Java using the
java.net package; Establishing two-way communication between
3 7 15
Server and Client using TCP and UDP; Features of Java Enterprise
Edition; Architecture of Java EE; Working with EJB
Servlets : Exploring javax. servlet and javax.servlet.http packages;
Servlet Life cycle; Creating a servlet; ServletConfig and Servlet
Context objects; HttpServletRequest and HttpServletResponse
4 8 16
Interfaces; Session Tracking Mechanisms; Event Handling; Creating
and Configuring filters; Parameter initialization in Filters;
Manipulating Responses using Filter.
Java Server Pages: Introduction to JSP Technology; Architecture of
JSP (Model – I and Model - II); Life Cycle of JSP Page; Working with
basic JSP Basic Tags; Action Tags and Implicit objects in JSP; JSP
5 7 15
Unified EL; Elements of Tag extensions; Tag Extension API in Java;
Life Cycle of Simple Tag Handler; Introduction to JSTL; Core Tag
Library and XML Tag Library
Hibernate : Architecture of Hibernate; HQL; Setting up the
development environment; Creating Database Table; Writing
6 Hibernate Configuration file; JavaBean and Hibernate mapping file; 7 15
Implementing O/R mapping with Hibernate
Spring MVC : Spring Framework Architecture; Dependency Injection
8 and Inversion of Control; AOP with Spring; Managing Transactions 7 15
in Spring; Spring Form Tag Library; Spring’s Web MVC Framework
Total 48 100
• The course includes a laboratory, where students have an opportunity to build an appreciation for the
concepts being taught in lectures. Experiments shall be performed in the laboratory related to course
contents.
Learning Outcome:
On successful completion of this course, the student should be able to:
• Implement the solution of a real time problem definition using Java Technology.
• Make them prepared with the current industry standards.
e-Resources:
• https://onlinecourses.nptel.ac.in/noc19_cs07/
• https://www.tutorialspoint.com/spring/
• https://www.tutorialspoint.com/hibernate/
• https://www.javatpoint.com/java-tutorial/
• https://www.edureka.co/blog/advanced-java-tutorial/
Reference Books:
1. Java Server Programming Java EE 7 (J2EE 1.7) Black book, Kogent Learning Solutions Inc.,
DreamTech Publication.
2. Java: The Complete Reference, 10th Edition, by Herbert Schildt, McGraw-Hill.
3. Advance Java Technology, by M.T. Savaliya, Kogent Learning Solutions Inc., DreamTech Publication.
4. Advanced Java Programming, by Uttam Kumar Roy, Oxford University Press.
List of experiments:
No Name of Experiment
Write a Servlet for an online shopping website, where the customer registers himself with his
name and email- id. The continue button will be available on that page and each subsequent
8 page, which displays the list of items. The customer will choose the items and the required
quantity. In last webpage the customer’s name, email id, the list of his purchased items and
the bill amount is shown. The students are advised to make the use of cookies.
9 Create a servlet filter that adds the request processing time in the response page.
Create a Login application using servlet and JSP, where the user will provide his login details
in a servlet page and if the login is successful then, a JSP page with “Welcome” message and
“Log Out” button should be shown. If the login is failed, then message of failure and link to
10
further login should be shown on a JSP page. If the failure count reaches to 3 then the
webpage should be closed. The students are advised to make use of session tracing
mechanisms.
a) Create a web page that prints 1 to 10 using JSTL 8.2
11 b) Create a custom JSP tag that prints current date and time. Use this tag into JSP page.
12 Create a hibernate application for employee payroll system.
13 Create a “Hello World” application using Spring MVC framework.
14 Create an online appointment booking application using Spring Web MVC framework