Topic outline
Chapter1: Applets, AWT & Event Handling
- Introduction to Applets
- First applet program discussion
- Another method of writing an applet
- Life cycle
- Parameter passing from HTML document
- Introduction to AWT & Event Handling
- Click on a button control and handle that event
- Mouse event handling
- Checkbox control
- Radiobutton control
- Choice control
- List control
- Label control , textfield control
- Textarea control
- Keyboard event handling
- Creating a Frame
- Window event handling
- Adapter classes
- Introduction to Layout Managers
- FlowLayout demo
- BorderLayout demo
- GridLayout demo
- GridBagLayout demo/ Creating a calculator
- CardLayout demo
- AWT Component Hierarchy
- Creating a menu
- Popup Menu
- Creating our own Dialog box
Quiz: 1Chapter2: GUI Development using Swings
- Introduction
- JButton on JApplet
- JButton on JFrame
- UIManager
- ImageIcon
- JTextField, JPasswordField
- JRadioButton
- JTabbedPane/ JCheckBox / JComboBox
- JTable
- JTree
- Setting mnemonics
- JToolBar
- JOptionPane
- JColorChooser
- JFileChooser
Quiz: 1Chapter3: Networking/Socket Programming
- Introduction To Networking
- Client/server program
- Chatting program
Quiz: 1Chapter4: JDBC (Java Database Connectivity)
- Introduction to JDBC
- Program: Establishing connection with the Oracle Database
- Program: Updating a Record – Ex1
- Program: Updating a Record – Ex2 (Taking the input via Scanner)
- Program: Updating a Record – Ex3 (Taking the input via Command Line arguments)
- Program: Retrieving Records
- Program: PreparedStatement Ex1
- Program: PreparedStatment Ex2
- Program: To store images in the database
- Program: To retrieve images from the database
- Program: Creating a Procedure in Oracle Database and using it from a JDBC Program
- Program: Creating a Function in Oracle Database and using it from a JDBC Program
- Program: Creating a Function in Oracle Database which returns records and using it from a JDBC Program
- Program: Demo on Transaction management
- Program: Demo on Batch update
- Program: Establishing connection with the MySQL Database Server and retrieving records from a table.
Quiz: 1Chapter5: Servlets
Round-1
- Introduction to Web Applications
- What is a Servlet
- To display “Welcome” msg on a web page through a Servlet
- Form Processing
- doGet Vs doPost
- Servlet init parameters and context init parameters
- life cycle of a servlet
- sendRedirect()
- requestDispatching
- request Headers
- auto refresh
Round-2
- Cookies
- Sessions
- Filters
- Listeners
- Web Survey (accesing Database from a Servlet)
Round-3
- Servlet with Annotation
- File Upload through a Servlet
- How to use Eclipse IDE to develop and run a Web Application (Servlet)
Quiz: 1Chapter6: JSP (Java Server Pages)
Round1
- Introduction to JSP
- Advantages of JSP over Servlets
- JSP Architecture Model1
- To display current date & time
- Form processing in JSP
- Displaying the form, processing it, and displaying the output – all in one file
(JSP containing Form + Code + Result)
- JSP to Servlet conversion
- JSP Life Cycle
- Demo on accessing Database from a JSP
- Demo on Request Dispatching in JSP ( jsp action elements)
- JSP Declaration element
- Error handling in JSP
- Demo on Java Beans and JSP action tags
- Demo on different scopes
- Header & Footer Demo
- Expression Language (EL) – Introduction
- EL Ex1 – param implicit object
- EL Ex2 – sessionScope implicit object
- JSP Elements
Round2
- Custom Tags introduction
- Custom Tags Ex1 - Demo on creating and using a Tag file
- Custom Tags Ex2 - Demo on Tag Handler - to display Current Date & Time
- Custom Tags Ex3 - Tag Handler with attribute support
- Custom Tags Ex4 – With Body content
Quiz: 1Chapter7: JSTL (JSP Standard Tag Library)
- What is JSTL
- JSTL Core Tags
- JSTL SQL Tags
- JSTL functions
Quiz: 1Chapter9: Java Mail
- What is Java Mail
- Program: Sending email from one account to another account
- Program: Sending email to Multiple recipients at one go
- Program: Sending email with file attachment
Quiz: 1Chapter10: Web Application Security
- Introduction to Web Application Security
- Program1. “BASIC” Authentication - Demo
- Program2. Form-based Authentication Demo
Quiz: 1Chapter11: XML & JAXP
- DTD
- XML Schema
- Program: Demo on DOM Parser
- Program: Demo2 on DOM Parser
- Program: Demo on SAX Parser
Quiz: 1Chapter12: Java API for JSON Processing
- What is JSON?
- Program1. Generating JSON data from a Java Program (Using the Object Model API)
- Program2. Parsing a JSON file (generated by the above Program) (Using the Object Model API)
- Program3. Parsing a JSON file (creating in the 1st Program) (Using the Streaming API)
- Program4. Generating a JSON File (Using the Streaming API)
Quiz: 1Chapter13: Web Services - SOAP and RESTFul (JAX-WS, JAX-RS)
- Introduction to Web Services
- Introduction to SOAP Web Services
- Program: Creating a Web Service in Java & using it from a Java (JSE) application
- Introduction to RESTFul Web Services
- Program: RESTFul Web Services Ex1
- Program: RESTFul WebService to Download a file
- Program: Uploading a File to a RESTFul Web Service using Jersey
- Program: RESTFul Server for JSON and RESTFul Java Client with Jersey Framework
- Program: RESTFul CRUD Web Services Demo (POST, GET, PUT, DELETE)
Quiz: 1Chapter14: Web Application Project
A Simple Web Application Project using JDBC , JSP and Java Mail Technologies