Advanced Java Programming

Paper Code: 
MCA 221
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

Course Objectives

The course enables the students to

  1. Define advanced features of Java
  2. Understand the concepts of JDBC and Servlets.
  3. Demonstrate the concepts of JSP used in creating web applications.
  4. Differentiate between JSP and Spring Framework.
  5. Evaluate the Web applications using Spring MVC
  6. Construct cases and new ideas where the knowledge of advanced features of Java can be implemented.

Course Outcomes(COs):

Learning outcomes

(at course level)

Learning and teaching strategies

Assessment

Strategies

CO66. Define advanced concepts of Java.

 

CO67. Describe the basic concepts of JDBC, Sessions tracking and Servlets.

 

CO68. Illustrate how to use JSP, JDBC and Servlets to create web applications..

 

CO69. Compare between JSP web applications and Spring Web Applications

 

CO70. Evaluate the pros and cons of using JSP, Servlet and Spring MVC in different applications.

 

CO71. Develop Web applications using advanced Java features.

Approach in teaching:

Interactive Lectures,

Modelling, Discussions, implementing practical based learning, Student centered approach

 

Learning activities for the students:

Experiential Learning, Self- learning such as use of NPTEL materials and internets, Presentations, Discussions, Quizzes and Assignments

 

Assignments

Classroom Activity

Presentations

Semester End Examination

 

12.00
Unit I: 

J2EE Overview, Need of J2EE, J2EE Architecture, J2EE APIs, J2EE Containers.  Web Application Basics, Architecture and Challenges of Web Application, Servlet Life Cycle, Developing and Deploying Servlets, Exploring Deployment Descriptor (web.xml), Handling Request and Response, Inter Servlet Communication

12.00
Unit II: 

JDBC – The JDBC Connectivity Model, Types of JDBC Drivers., Basic steps to JDBC, setting up a connection to database, Creating and executing SQL statements, ResultSet and ResultSet Metadata Object. Accessing Database, Servlet Chaining, Session Tracking and Management

12.00
Unit III: 

Java Server Pages: Basic JSP Architecture, Life Cycle of JSP, JSP Tags & Expressions, JSP Implicit Objects, JSP Directives, Tag Libraries, Using JDBC with  JSP, Accessing a Database, Adding a Form, Updating the Database.

12.00
Unit IV: 

Overview of the Spring Framework, Spring Philosophies, Spring Containers, Spring Configuration File, Spring Beans, The BeanFactory Interface, Singleton vs. Prototype, Bean Naming, Dependency injection with Spring.

12.00
Unit V: 

Building Web Applications Using Spring MVC: Spring Web MVC, The DispatcherServlet, A Simple View Page, Adding a View Resolver, Adding a Message Bundle, Adding Business Classes, Adding Test Data.

ESSENTIAL READINGS: 

 

·      Herbert Schildt, “Java: The Complete Reference”, 10th Edition, McGraw-Hill, 2017.

·      E. Balagurusamy, “Programming with Java: A Primer”, Tata McGraw-Hill, 2019.

·      Bryan Basham,  Kathy Sierra & Bert Bates, “Head First Servlets and JSP”  Paperback – 2011

·      Mert Caliskan, Kenan Sevindik, Rod Johnson, Jurgen Holler, “Beginning Spring”, Wrox publication, Feb 2015.

·      Marty Hall and Larry Brown, “Core Servlets and Java Server Pages”, 2nd Edition, 2007.

REFERENCES: 
  • Do Bruce Eckel, “Thinking in Java”, 4th Edition, Prentice Hall, 2008.
  • Cay S. Horstmann, “Core Java, Volume I: Fundamentals”, 9th edition, Pearson Education, 2014.
  • Cay S. Horstmann, “Core Java, Volume II: Advanced Features”, 9th edition, Pearson Education, 2014.
  • Santosh Kumar K, “JDBC, Servlet, and JSP: Black Book”, Kogent Solutions Inc., 2008.
  • Madhusudhan Konda, “Just Spring”, 1st edition, O’Reilly, 2011. Donald E. Knuth, “The Art of Computer Programming”, Volumes 1 & 3 Pearson Education,2009.
  • Steven S. Skiena, “The Algorithm Design Manual”, Second Edition, Springer, 2008.
Academic Year: