Setup
Course Materials
- Java SE Programming – Reference
- Introduction to Java Threads
- Advanced Thread Management
- Performance and Fork-Join Framework
- Advanced Concurrency and Socket Programming
- Database Integration and New Features of Java 21
Project Guidelines
- Develop a concurrent application using Java Threads or Fork-Join framework
- Implement socket programming (UDP/TCP) for communication
- Integrate with a MySQL database using JDBC
- Use at least one new feature from Java 21
References
Sample Codes
Day 1
- HelloWorld
- MyRunnable
- TestRunnable
- MyThread
- TestThread
- TestThread2
- TestPriority
- SyncStack
- Consumer
- Producer
- SyncTest
Day 2
- MyCallable
- TestCallable
- SharedResource
- Worker
- SynchronizedBlockExample
- StaticSharedResource
- StaticWorker
- StaticSynchronizedExample
- VolatileExample
- VolatileTest
- AtomicExample
- ConcurrentCollectionDemo
- LockSharedResource
- ReentrantLockExample
- SharedResourceRW
- Reader
- Writer
- ReadWriteLockExample
- WrapperExample
- ExceptionHandling
Day 3
- LambdaExample
- LambdaExample2
- ExecutorExample
- ExecutorCallableExample
- ScheduledExecutorExample
- ShutdownExample
- DeadlockExample
- GUI
Day 4
- SumTask
- PrintTask
- ParallelMergeSort
- ForeachExample
- TCPServer
- TCPClient
- MultiThreadedTCPServer
- Shape
- Rectangle
- Circle
- TestShape
ATM Project