How mathini25/vlrs works
VLRS is a JavaFX video-library client backed by a Java RMI service and MySQL. The main workflow lets staff maintain genres, movies, and clients, then record rentals and returns and view borrowed/returned titles. The client controller calls the remote service; its JDBC implementation reads and writes the catalog and rental records. Server startup initializes the schema and registers the service. The README gives no further capability details, and the excerpts do not expose every controller connection or UI resource, so only evidenced links are shown.
Main entry points: PrimaryController.java Library screens · VideoLibraryServiceImpl.java Service implementation · App.java JavaFX app · Database.java Database access
Components 11
Desktop client
- JavaFX app
App.java - Library screens
PrimaryController.java - Screen navigation
SecondaryController.java - Display item
NamedItem.java
Remote service
- RMI registry
- Library operations
VideoLibraryService.java - Service implementation
VideoLibraryServiceImpl.java - Server startup
Server.java
Persistence
- Database access
Database.java - MySQL library data
Other components
- Library staff
Connections 12
- Library staff → JavaFX app: uses
App.java - JavaFX app → Library screens: loads view
App.java - Library screens → RMI registry: looks up service
PrimaryController.java - Library screens → Library operations: invokes remotely
PrimaryController.java - Library operations → Service implementation: implemented by
VideoLibraryServiceImpl.java - Service implementation → Database access: opens connections
VideoLibraryServiceImpl.java - Database access → MySQL library data: reads and writes
Database.java - Server startup → Database access: initializes schema
Server.java - Server startup → Service implementation: registers service
Server.java - Service implementation → Display item: returns items
VideoLibraryServiceImpl.java - Library screens → Display item: displays selections
PrimaryController.java - Screen navigation → JavaFX app: switches views
SecondaryController.java