Advanced Java Course
Total Lectures: [48 hours]
1. Database Programming –JDBC (Java Database connectivity)
The design of jdbc, jdbc configuration
Drivers
Executing sql statements, query execution
Scrollable and updatable result sets
DatabaseMetadata, ResultSetMetadata
Transactions – commit(), rollback()
(Database : MySql)
2. User Interface Components with AWT and Swing- Desktop Application
What is AWT ? What is Swing? Difference between AWT and Swing.
The MVC Architecture and Swing
Layout Manager and Layouts, The JComponent class
Components
JButton, JLabel, JText, JTextArea, JCheckBox and JRadioButton,
JList, JComboBox, JMenu and JPopupMenu Class, JMenuItem and JCheckBoxMenuItem,
JRadioButtonMenuItem , JscrollBar
Dialogs (Message, confirmation, input), JFileChooser, JcolorChooser
Event Handling: Event sources, Listeners
7.7 Mouse and Keyboard Event Handling
3. Collection
Introduction to the Collection framework
List – ArrayList, LinkedList and Vector, Stack, Queue
Set - HashSet, TreeSet, and LinkedHashSet
Map – HashMap, LinkedHashMap, Hashtable and TreeMap
Interfaces such as Comparator, Iterator, ListIterator, Enumeration
4. Servlet- Web Application Programming
HTML
Introduction to Servlet and Hierarchy of Servlet
Tomacat server installation
Life cycle of servlet
Handing get and post request (HTTP)
Handling a data from HTML to servlet
Retriving a data from database to servle
JSP
Simple first JSP program
Life cycle of JSP
Implicit Objects
Scripting elements – Declarations, Expressions, Scriplets, Comments
JSP Directives – Page Directive, include directive
Mixing Scriplets and HTML
Example of forwarding contents from database to servlet, servlet to JSP and displaying it using JSP scriplet tag
Practical program assignments on each topic
Notes are provided for each topic
Two mini Projects
Desktop application (using AWT, SWING, JDBC, Collection)
Web application (using Servlet, JSP, JDBC, Collection)