4G curriculum (older)
4351603 · Semester 5 · 4G scheme
Advanced JAVA Programming
Notes and solutions following the Gujarat Technological University (GTU) syllabus for 4351603. Independent material — not issued by the university.
Materials
Complete Book
The whole syllabus, unit by unit, written for the exam.
Complete Book
262 pages
Premium Preview · 16 pages
Problem Solver
Step-by-step solutions to typical problems.
Problem Solver
32 pages
Premium Preview · 4 pages
PYQ Solutions
Past university papers, fully solved.
Solved past papers — detailed answers
145 pages · English + ગુજરાતી
Premium Preview · 7 pagesSolved past papers — short answers
127 pages · English + ગુજરાતી
Premium Preview · 4 pages
Syllabus units
Unit 1: JAVA SWING12 h · 18 marks
- Difference between AWT and Swing
- Features of the Java Foundation Classes
- Swing Classes Hierarchy
- Commonly used Methods of Component class (add(), setSize(), setLayout(), and setVisible())
- JApplet, JFrame, JLabel, JTextField, JTextArea, JButton, JCheckBox, JRadioButton, JComboBox, JMenu
- Flow Layout
- Border Layout
- Card Layout
- Box Layout
- Grid Layout
- Gridbag Layout
- Group Layout
- Spring Layout
- Introduction
- Action Events
- Key Events
- Focus Events
- Window Event
- Mouse Event
- Item Events
- ActionListener
- KeyListener
- FocusListener
- WindowListener
- MouseListener
- MouseMotionListener
- ItemListener
Unit 2: Java Database Connectivity6 h · 10 marks
- Two-Tier Database Design, Three-Tier Database Design
- The API components
- Database operations like creating tables
- CRUD (Create, Read, Update, Delete) operations using SQL
- JDBC - advantages and disadvantages
- JDBC drivers
- JDBC-ODBC bridge
- Develop java program using JDBC
- ORM working model, advantages and ORM tools
- Architecture of hibernate and installation steps for IDE
- Hibernate Properties and supported database
Unit 3: Servlets9 h · 16 marks
- The life cycle of a servlet
- The Java Servlet Development Kit
- Create and compile servlet source code
- Start a web browser and request the servlet
- Example of echo servlet and deployment in tomcat server
- Reading database/table records and displaying them using servlet
Unit 4: Java Server Pages9 h · 16 marks
- Advantages of JSP and lifecycle of JSP
- Directives
- Comments
- Expression
- Scriptlets
- Declarations
- Implicit Objects
- Standard Actions and Tag Extensions
- Elements Created with the INPUT Tag, Elements Created with select and option, textarea Element
- JSP form validation
- Core tags
- SQL tags
- XML tags
- JSTL functions
- Create Table using JSP, SELECT, INSERT, DELETE and UPDATE
Unit 5: Web MVC Framework6 h · 10 marks
- Importance of MVC architecture, Advantages of MVC Architecture
- Model layer, View layer and Controller layer
- Spring Framework Architecture
- Features in Spring Boot, Comparison Between Spring and Spring Boot
About this course
This course provides the knowledge necessary to develop dynamic web pages using Servlet, JSP, MVC web frameworks and hibernate. It covers the basic underlying concepts and techniques recently used in the IT industry. After going through this course students will be able to design MVC based Web applications.