Logo

BCA Advanced Java Programming

bcasemester 6

Advanced Java Programming

Subject Code: CACS354

Course Title: Advanced Java Programming

Course No: CACS354

Nature of Course: Theory & Practical

Full Marks: 60+20+20

Pass Marks: 24+8+8

Credit Hours: 3

Course Description

This course covers advanced features of Java programming language including, GUI programming, database programming, JavaBeans, JSP, Servlet, and Remote Method Invocation (RMI).

Course Objective

The primary objective of this course is to provide concepts of advanced features of Java programming and make students familiar with their uses and applications.

Course Contents

Unit 1. GUI Programming   12 Hrs.

Introducing Swing, Creating a Frame, Displaying Information in a Component, Working with 2D Shapes, Using Color, Using Special Fonts for Text, Displaying Images, Event Handling: Event Handling Basics, Event Classes, Event Listeners and Adapter Classes, Swing and the MVC Design Pattern, Layout Management, Basic Swing Components

Unit 2. Database Programming   7 Hrs.

The Design of JDBC: JDBC Driver Types and Typical Uses of JDBC, the Structured Query Language, JDBC Configuration, Working with JDBC Statements, Query Execution, Scrollable and Updatable Result Sets, Row Sets

Unit 3. JavaBeans   7 Hrs.

What Is a Java Bean?, Advantages of Java Beans, Introspection, Properties, Events, and Methods Design Patterns, Using BeanInfo Interface, Bound and Constrained Properties, Persistence, Customizers, the Java Beans API, Writing JavaBeans

Unit 4. Servlets and JSP   14 Hrs.

Background, The Life Cycle of a Servlet, A Simple Servlet, The Servlet API, The javax.servlet Package, Reading Servlet Parameters, The javax.servlet.http Package, Handling HTTP Requests and Responses, Using Cookies, Session Tracking, Introduction to JSP, Using JSP, Comparing JSP with Servlet, Java Web Frameworks

Unit 5. RMI   5 Hrs.

What is RMI?, The Roles of Client and Server, Remote Method Calls, Stubs and Parameter Marshalling, the RMI Programming Model, Interfaces and Implementations, the RMI Registry, Parameters and Return Values in Remote Methods, Remote Object Activation, Simple Client/Server Application using RMI, Comparing RMI with CORBA

Text Books

  1. Core java Volume I – Fundamentals, Tenth Edition, Cary S. Horstmann, Prentice Hall
  2. Core java Volume II – Advanced Features, Tenth Edition, Cary S. Horstmann, Prentice Hall
  3. Java: The Complete Reference, 10th, Herbert Schildt, McGraw-Hill

Reference Books

  1. Advanced Java Programming, Uttam K. Roy, Oxford University Press
  2. Java: Advanced Features and Programming Techniques, Nathan Clark

Lab Works

The laboratory work includes writing Java programs
To create GUI applications using swing, event handling, and layout management
To create applications to work with databases
To create JavaBeans
To create server side web programs using Servlet and JSP
To create distributed applications using RMI