Advanced Java Programming
0%
Course Title: Advanced Java Programming
Course No: CSIT.412
Nature of the Course: Theory + Lab
Semester: 7
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 10 + 10
Credit Hours: 3
Course Description
Course Objectives
Course Contents
1.1. AWT Basics
- AWT class Hierarchy
- AWT Containers & Controls
- AWT Features
1.2. AWT Containers
- Window
- Frame
- Panel
- Dialog
- Applets
- Creating Frames & Panels
- Creating Applets
- Applet Life Cycle
1.3. Layout Managers
- Flow Layout
- Grid Layout
- GridBag Layout
- Border Layout
- Group Layout
- Using SetBound method
1.4. AWT Controls
- TextField
- TextArea
- Button
- Label
- Checkbox
- Checkbox Group
- Choice
- List
- Canvas
- Image
1.5. AWT Menu
- Menu Hierarchy
- Menu
- MenuBar
- MenuItem
- PopupMenu
1.6. AWT Graphics
- Graphics and Graphics2D Class
- Drawing Lines
- Curves
- Rectangles
- Ellipse
- Changing Color & Font
2. GUI with Swing
8 hrs
2.1. Swing Basics
- Swing Hierarchy
- Swing Features
- AWT vs Swing
2.2. Text Input
- Text Fields
- Password Fields
- Text Areas
- Scroll Pane
- Label and Labelling Components
2.3. Choice Components
- Check Boxes
- Radio Buttons
- Borders
- Combo Boxes
- Sliders
2.4. Menus
- Menu Building
- Icons in Menu Items
- Check box and Radio Buttons in Menu Items
- Pop-up Menus
- Keyboard Mnemonics and Accelerators
- Enabling and Disabling menu Items
- Toolbars
- Tooltips
2.5. Dialog Boxes
- Option Dialogs
- Creating Dialogs
- Data Exchange
- File Choosers
- Color Choosers
2.6. Component Organizers
- Split Panes
- Tabbed Panes
- Desktop Panes and Internal Frames
- Cascading and Tiling
2.7. Advanced Swing Components
- List
- Trees
- Tables
- Progress Bars
3. Event Handling
6 hrs
3.1. Event Handling Introduction
- Standard Event Handling
- Using Delegated Class
- Using Action Commands
- Listener Interfaces
- Adapter Classes
3.2. Handling Events
- Action Events
- Key Events
- Focus Events
- Window Event
- Mouse Event
- Item Event
4.1. JDBC Design
- JDBC Architectures
- Drivers & Jar Files
- Driver Types
- Steps for Connecting to JDBC
4.2. Executing SQL Statements
- Managing Connections
- Statements
- Result Set
- SQL Exceptions
- Populating Database
4.3. Query Execution
- Prepared Statements
- Reading and Writing LOBs
- SQL Escapes
- Multiple Results
- Scrollable Result Sets
- Updateable Result Sets
- Row Sets and Cached Row Sets
- Transactions
5.1. Networking Basics
- Transmission control Protocol (TCP)
- User Datagram Protocol (UDP)
- Ports
- IP Address
- Network Classes in JDK
5.2. Working with URLs
- Connecting to URLS
- Reading Directly from URLS
- Inet Address Class
5.3. Sockets
- TCP Sockets
- UDP Sockets
- Serving Multiple Clients
- Half Close
- Interruptible Sockets
- Sending Email
6. Java Beans
5 hrs
6.1. Introduction to Java Beans
- Creating, Updating and Reading From JAR Files
- Java Beans
- Advantages of Java Beans
- Class vs Beans
- BDK and Bean Box
6.2. Creating Java Beans
- Creating a Java Bean
- Creating a Bean Manifest File
- Creating a Bean JAR File
- Using a New Bean
- Adding Controls to Beans
- Giving a Bean Properties
- Creating Bound Properties
- Giving a Bean Methods
- Giving a Bean an Icon
7. Servlets & JSP
5 hrs
7.1. Servlets
- Introduction to Servlets
- Life cycle of servlets
- Java Servlets Development Kit
- Creating, Compiling and running servlet
- The servlet API (javax.servlet package)
- Reading the servlet Parameters
- Reading Initialization parameter
- The javax.servlet.http.Package
- Handling HTTP Request and Response (GET / POST Request)
- Using Cookies
- Session Tracking
7.2. Java Server Pages
- Advantage of JSP technology (Comparison with ASP / Servlet)
- JSP Architecture
- JSP Access Model
- JSP Syntax Basic (Directions, Declarations, Expression, Scriplets, Comments)
- JSP Implicit Object
- Object Scope
- Synchronization Issue
- Exception Handling
- Session Management
- Creating and Processing Forms
8. RMI & CORBA
5 hrs
8.1. Remote Method Invocation
- Introduction of RMI
- Architecture of RMI
- Remote Objects
- Creating and Executing RMI Applications
8.2. CORBA
- Introduction to CORBA
- Architecture of CORBA
- Functioning of CORBA Applications
- CORBA Service
Laboratory Works
- 1.Desktop Application Project
- 2.Network Application Project
- 3.Web Application Project
Text Books
- 1.Cay S. Horstmann, Core Java Volume I--Fundamentals Ninth Edition, Prentice Hall, 2012
- 2.Cay Horstmann and Grazy Cornell, Core Java Volume II-Advance Features, Eighth Edition
Reference Books
- 1.Hebert Schildt Java: The Complete Reference, McGraw-Hill Education, Ninth Edition, 2014
- 2.Steven Holzner, Java 7 Programming, Black Book, Dreamtech Press, 2013