Java Technologies

Ivan Momtchev
ivan.momtchev@tu-sofia.bg

Technical University Sofia, Bulgaria

Revision 0.8
Copyright © 2025 Ivan Momtchev

22.03.2025

Revision History
Revision 0.1  Created 15.01.2024 Ivan Momtchev
Revision 0.1 - 0.8 - bug fixes and enhancements 18.01.2024 - 22.03.2025 Ivan Momtchev



Table of Contents
   
     1.
 Classes and objects
     2.  Controlling Access to Members of a Class
     3.  Exceptions in Java
     4. 
IO - serialization 
               Introduction
               Serial Version UID
               Example  
               Non serializable fields
               Inheritance and Composition
               Custom Serialization
               
Working with text files
               Working with binary files
     5.  Threads
               Introduction
               Creating
               Thread states
               Examples
    6.  Thread Synchronization: Producer-Consumer
               Resource sharing without synchronization
               Synchronization
               
Several producers and consumers
               Synchronization on  Оbject - printing strings                    
    7.  Thread Synchronization: One way bridge  
               A console implementation
               A GUI implementation
    8.  The deadloks 
    9.  Swim pool 
  10.  Train between two stations
               The initial model
               The second version
   11.  Timers
   12.  ThreadPool
               Introduction
               One way bridge with Thread Pool
               Swimming pool with Thread Pool
               Train with Thread Pool
   13.  Network programming in Java
               Internet protocol suite TCP/IP
               Package java.net
               Identifying a machine
               The class InetAddress - Internet adresses (numeric IP addresses and host names)
               The class URL
               Servers and clients
               Serving multiple customers, clients with names
               MultiClientServer with number of connected clients
 
  14.  One-way bridge with cars generated by a remote host
               A console implementation
               A GUI implementation
   15.  Chat Server
   16.  Object serialization via sockets
               Example 1
               Exemple 2
   17. The final project