Today I started a new Java mini project. This one will be a bit bigger than usual.
The target is to create an application for keeping a database of vinyl records. My father and uncle are both record collectors and are lacking an easy desktop application for keeping a record of their vinyls.
During the development of this application I am planning to:
The target is to create an application for keeping a database of vinyl records. My father and uncle are both record collectors and are lacking an easy desktop application for keeping a record of their vinyls.
During the development of this application I am planning to:
- Use IntelliJ as IDE instead of Eclipse that I normally use.
- Use Git for version control.
- Add the project to GitHub.
- Use Mockito for mocking the Data Access Object (DAO) when testing.
- Create a MySQL database that is stored on a remote server and can be accessed over the net.
- Create a GUI for the application.
So far I have installed IntelliJ and MySql locally. Set up a database and tried out some queries to see that it works. Also prototyped some SQL requests in Java.
One thing I realized that I really need to consider is how to handle exceptions due to database access issues. Also, I don't know of a good way to do "negative testing", i.e. intentionally fail in order to test that the application handles the error cases in a good manner.
More to come...
Kommentarer
Skicka en kommentar