A simple example of the Singleton and Adapter design patterns.
- Check the information about Singleton on Refactoring Guru and Wikipedia.
- Install SQLite CLI via the package manager or from official website.
- Use CLI, Intellij IDEA professional, DBViewer, or SQLite Browser to connect to DB and create a simple table.
- Install lib sqlite-jdbc.
- Check sqlite tutorial.
- Complete Task 1
- Check the information about Adapters on Refactoring Guru and Wikipedia.
- What is the difference between Object Adapter and Class Adapter?
- Complete Task 2 using
Adapter
pattern - Complete Task 3 using
Adapter
pattern - Check the information about Adapters on Refactoring Guru and Wikipedia.
- Submit a link to GitHub with tests and a GitHub Action file.