Overview
This intensive two-day workshop teaches advanced Java programming language.
Attendees will gain practical experience using Java I/O, layout managers, design,
GUI, and Java Network Programming. Hands-on exercises include creating complex
programs.
Who Should Attend
This two day advanced course is especially valuable for Java programmers
who wish to increase their depth of knowledge in Java programming and explore
the uses of the various advanced packages.
Prerequisites
Java Programming and Object Oriented experience is required.
Objectives
The participant will be able to:
- Use the layout managers in Java.
- Develop applications using the Java I/O.
- Use and create Java class packages.
- Understand the memory allocation and
- How garbage collection works in Java.
- Use single threads.
- Create data structures using Java classes
Outline
AWT
- Events
- Java 1.1 Event Model
- The Event Class
- Layout
- The LayoutManager Interface
- FlowLayout
- BorderLayout
- GridLayout
- CardLayout
- GridBagLayout
- GridBagLayout Constraints
- Combining Layouts
- sun.awt. Layout
- HorizBagLayout
- VerticalBagLayout
- VariableGridLayout
- OrientableFlowLayout
- No Layout Manager
- Menu Design
- MenuComponent
- MenuContainer
- MenuShortcut
- MenuItem
- Menu
- CheckMenuItem
- MenuBar
- Putting it all together
- Pop up menus
- Creating windows
Java Threads
- Introduction to threading
- Java terms
- Thread Overview
- User interfaces
- Sharing resources
- Blocking
- Priorities
- Runnable interface
- The Java Threading API
Files and Streams (I/O)
- Introduction
- Built-in Streams
- Using simple Streams
- vInside SimpleStreams
- Redirections
- Files and Streams
- Creating a Sequential-Access File
- Reading Data from a Sequential-Access file
- Updating Sequential-Access File
- Creating a random access file
- Reading data from a random access file
- Writing to a random access file
- Mixing and Matching Stream Filters
- The File Object
- Storing Objects
- FileDialogs
- Pipes
Creating Interfaces
Creating Packages
Building Jar Files
Using the MediaTracker
Image Manipulation
Graphics manipulation
Security
- Class Loaders
- Security Managers
- The Java Security Package
- Encryption
- Internationalization
Introduction to JDBC
- What it does
- A low level API
- Two & three tier models
- JDBC driver types
- Establishing a connection
- Creating JDBC statements
- Executing statements
- Getting data from tables
- Entering data to tables
- Retrieving values from a results set
Java Networking
- Overview of networking
- Working with URLs
- Sockets
- Datagrams