CMP 363 Advanced Programming (JAVA)
CMP 363 Advanced Programming (JAVA)
Course Objectives
This course aims to develop students with knowledge of advanced features of java for making
familiar with desktop and web based application. Basic knowledge of programming in Java is
expected from students. This course should be associated with laboratory experiments to
augment the concepts taught in the class.
Course Description
Introducing the AWT, Using AWT controls, Layout Managers, and Menus, Events handling,
Introducing Swing, Exploring Swing, The Applet Class, JDBC, Introduction to J2EE, Servlet
Programming, JSP Programming.
Course Outcomes
Course Contents
AWT classes
Window fundamentals
o Component
o Container
o Panel
o Window
o Frame
Working with frame Windows:
o Setting the Windows dimensions
o Setting a Windows title
o Hiding and showing
o Closing a Frame Windows
Unit II: Using AWT controls, Layout Managers, and Menus 6 hours
Applet basics
The Applet class
Applet Architecture
An applet skeleton
The HTML applet tag
Passing parameters to applets
Database Basics
Structured Query Language
o Creating a table
o Inserting Data
o Updating records in table
o Retrieving record in table
o Retrieving records from table
o Deleting records
Database Driver
o JDBC-ODBC bridge
o Party Java Partly Native Driver
o International Database Access Driver Server
JDBC API
o Creating a table
o Inserting Data in Driver
o Reading Data
o Deleting Data
o Prepared Statement
HTTP
o Get Request
o POST Request
Server Slide of the Web Application
Web Container
o Structure of a web application
Servlet Technology
o Servlet
Deployment Description
Step for writing a servlet
Servlet initialization
Reading HTML form data
Session Management
o Creating session
o Storing data in session
o Reading the data from session
o Destroying the session
Request dispatching
o The forward()method
o The include()method
JSP Basic
o JSP Directive
o JSP Declaration
Implicit Objects
Java Beans in JSP
o Jsp:useBEan
o Jsp:setProperty
o Jsp:getProperty
Basic Text
Kosuri Phani, Java & J2EE Made Easy, North Carolina: Lulu Publications.
Reference
Herbert Schildt, Java the complete reference, New Delhi: Mcgraw-Hill Education.