Skip to content

Final Release (Module 3)

Latest

Choose a tag to compare

@Ivanlaguna511 Ivanlaguna511 released this 19 Mar 18:06
fda0116

This release marks the completion of the distributed Spotify-like architecture. It integrates full location transparency, asynchronous data streaming, and enterprise-grade security.

Key Features Included:

  • Hybrid Architecture: Control plane handled via Java RMI, Data plane handled via multi-threaded TCP Sockets.
  • End-to-End Encryption: RMI Registry, method invocations, and Callbacks are fully secured using SslRMIClientSocketFactory and SslRMIServerSocketFactory with custom KeyStores.
  • RMI Callbacks: Bi-directional communication allowing the server to remotely trigger the client's OS Media Player.
  • Thread-Safe Concurrency: Robust handling of multiple connected clients using custom ConcurrentMultiMap and ConcurrentHashMap structures.
  • File Auditing: Implemented a persistent .txt logging system to track stream sessions, IPs, and byte transfers.
  • Dynamic Preloading: The server automatically scans and loads physical .mp3 and .jpg files across dynamic OS paths on startup.

Note: Ensure a valid keystore.jks is generated in the root directory before running the compiled classes.