Web Tech Unit 2

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

Unit 2- JAVA GUI, FILE STREAM AND CONCURRENCY

1) In book- "Java Unit 1,2-Paul Deitel, Harvey Deitel.pdf"- has all syllabus topics
except the last one

2) In book- "Advanced Java programming- Roy, Uttam K.pdf"- only the last topic
(Java Networking) is to be learn from the book

--> ... - means this is main topics, and is given explicitly in syllabus

--> GUI Development using SWING- Pg 518- Pg 586


(Sub Topics:
1 Introduction
2 Java’s Nimbus Look-and-Feel
3 Simple GUI-Based Input/Output with JOptionPane
4 Overview of Swing Components
5 Displaying Text and Images in a Window
6 Text Fields and an Introduction to Event Handling with Nested Classes
7 Common GUI Event Types and Listener Interfaces
8 How Event Handling Works
9 JButton
10 Buttons That Maintain State
[10.1 JCheckBox
10.2 JRadioButton
]
11 JComboBox; Using an Anonymous Inner Class for Event Handling
12 JList
13 Multiple-Selection Lists
14 Mouse Event Handling
15 Adapter Classes
16 JPanel Subclass for Drawing with the Mouse
17 Key Event Handling
18 Introduction to Layout Managers
[18.1 FlowLayout
18.2 BorderLayout
18.3 GridLayout
]
19 Using Panels to Manage More Complex Layouts
20 JTextArea
)
** Summary- Pg 587- Pg 592-> * Go through this. Has section wise points
Self-Review Exercises and Answers- Pg 592,593
Exercises- Pg 594- Pg 595

--> Swing GUI Components: Part 2 - LEARN IN NEEDED- Pg 956- Pg 996


(Sub Topics:
1 Introduction
2 JSlider
3 Understanding Windows in Java
4 Using Menus with Frames
5 JPopupMenu
6 Pluggable Look-and-Feel
7 JDesktopPane and JInternalFrame
8 JTabbedPane
9 BoxLayout Layout Manager
10 GridBagLayout Layout Manager
)
** Summary- Pg 996- Pg 998-> * Go through this.Has section wise points
Self-Review Exercises and Answers- Pg 998,999
Exercises- Pg 999- Pg 1000

--> I/O Streams (Files) and Object Serialization- Pg 689- Pg 717


(Sub Topics:
1 Introduction
2 Files and Streams
3 Using NIO Classes and Interfaces to Get File and Directory Information
4 Sequential-Access Text Files - Pg 695
[4.1 Creating a Sequential-Access Text File
4.2 Reading Data from a Sequential-Access Text File
4.3 Case Study: A Credit-Inquiry Program
4.4 Updating Sequential-Access Files
]
*5 Object Serialization - Pg 706
[5.1 Creating a Sequential-Access File Using Object Serialization
5.2 Reading and Deserializing Data from a Sequential-Access File
]
6 Opening Files with JFileChooser
7 (Optional) Additional java.io Classes
[7.1 Interfaces and Classes for Byte-Based Input and Output
7.2 Interfaces and Classes for Character-Based Input and Output
]
)
Summary- Pg 720- Pg 723-> Has section wise points
Self-Review Exercises and Answers- Pg 723,724
Exercises- Pg 724- Pg 727

--> Generic Collections- Pg 729- Pg 766


(Sub Topics:
1 Introduction
2 Collections Overview
3 Type-Wrapper Classes
4 Autoboxing and Auto-Unboxing
5 Interface Collection and Class Collections
6 Lists
[6.1 ArrayList and Iterator
6.2 LinkedList
]
7 Collections Methods
[7.1 Method sort
7.2 Method shuffle
7.3 Methods reverse, fill, copy, max and min
7.4 Method binarySearch
7.5 Methods addAll, frequency and disjoint
]
8 Stack Class of Package java.util
9 Class PriorityQueue and Interface Queue
10 Sets
11 Maps
12 Properties Class
13 Synchronized Collections
14 Unmodifiable Collections
15 Abstract Implementations
)
** Summary- Pg 767- Pg 769-> * Go through this. Has section wise points
Self-Review Exercises and Answers- Pg 769, 770
Exercises- Pg 770- Pg 772
--> Concurrency- Pg 1002- Pg 1020
(Sub Topics:
1 Introduction- Pg 1002- Pg 1004
2 Thread States and Life Cycle
3 Creating and Executing Threads with the Executor Framework- Pg 1007- Pg
1011
4 Thread Synchronization
)
** Summary- Pg 1079- Pg 1081 only-> * Go through this. Has section wise points
Self-Review Exercises and Answers- Pg 1085, 1086 (only relevant ones)
Exercises- Pg 1087,1088 (only relevant ones)

--> Thread States and Life Cycle- Pg 1004- Pg 1007


(Sub Topics:
1 New and Runnable States
2 Waiting State
3 Timed Waiting State
4 Blocked State
5 Terminated State
6 Operating-System View of the Runnable State
7 Thread Priorities and Thread Scheduling
8 Indefinite Postponement and Deadlock
)
** Summary- Pg 1080- Section 23.2

--> Thread Synchronization- Pg 1011- Pg 1020


(Sub Topics:
1 Immutable Data
2 Monitors
3 Unsynchronized Mutable Data Sharing
4 Synchronized Mutable Data Sharing— Making Operations Atomic
)
** Summary- Pg 1081, 1082- Section 23.4

--> Java Networking- In book "Advanced Java programming...pdf"- Pg 291- Pg 302


(Sub Topics:
1 Java and the Net
2 Java Networking Classes and Interfaces
3 Getting Network Interfaces
[3.1 Getting Interface Addresses
3.2 Getting Interface Properties
]
4 URL 277
[4.1 Creating URL
4.2 Parsing URL
4.3 Web Page Retrieval
]
5 URLConnection
6 HttpURLConnection
6.1 URLEncoder/URLDecoder
7 Proxy
[7.1 Using Command Line Arguments
7.2 Using System Properties
7.3 Using Proxy Class
]
8 ProxySelector
)
** KEYWORDS, Summary- Pg 302
Exercises- Pg 303,304

--> CHECK if 'Socket Programming' also is required- Pg 305- Pg 365


(This is not explicitly mentioned in the syllabus)

You might also like