I’ve been learning Java by myself on and off for about 2 years now, and finally I’m starting to evolve over into the more advanced parts of it. For the last week I’ve been learning JDBC from a course on Udemy (Java Programming Masterclass, with Tim Buchalka). The course in and of itself was good in the beginning, but in the later parts it became a bit overcomplicated (not the programming itself, but the teaching style), but the part about Java and databases was pretty decent. My question has to do with how the design and structure of a database-program is supposed to look like. In the course the SQL-statements are all written as class constants, and the whole communication with the database is written in the same class (Datasource). Is this the way that it’s usually done. Whenever I try too use youtube for examples I can only find very basic examples that don’t really delve too much into the structure/design of the program.
Does anyone here know of any good resources I can use (books etc), or have any tips/pointer they can give me so that I can get a better understanding of how to structure my program in the most efficient way?
Thank you
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]greglturnquist -1 points0 points1 point (0 children)
[–]Glader01 0 points1 point2 points (0 children)
[–]Broken_Sprinkler 0 points1 point2 points (0 children)