Spring Boot on Scala
Using Spring Boot on Scala Assumption This example uses a project generated/seeded via Activator using the "minimal-scala" template. However, any project using SBT will probably work just as well. Add Spring…
Using Spring Boot on Scala Assumption This example uses a project generated/seeded via Activator using the "minimal-scala" template. However, any project using SBT will probably work just as well. Add Spring…
I cannot believe how little info there is on using multiple Datasources in Spring Boot. Out of the box, Spring Boot makes it very easy to configure the default Datasource: tweak…
Command line program w/ Spring Boot To write a command line program (e.g. launched w/ static void main(String args[])), have the main application class implements org.springframework.boot.CommandLineRunner and implement the function:…
A more typical/modern setup would be to replace JSP with one of the template engines and JS and styling libraries: Thymeleaf as the templating engine jQuery as the JavaScript library…
Project Setup From the CLI or http://start.spring.io/, initialize a project with "web" capability. What ends up happening is addition of the dependency: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> Start with this directory…