Skip to main content

One post tagged with "database"

View All Tags

· 5 min read

Let's build some simple example that demonstrate ease of Spring Boot use when building applications that need to connect to, in this case - MySql database. Final output will be single - standalone jar file that can be executed as java -jar my-boot-artifact.jar and will be able to process http requests. Application is intentionally made simple, there's no big architecture inside it - you can see database code inside Controller method, which you'd normally not use for real world projects.