Overview
Syllabus
Intro
Overview
Target audience
Why Scala?
Why Scala & Spring
2. Examples
First example: serving web content with Spring MVC
Make Gradle work with Scala
Application class
Template
Controller
Example: consuming REST services
Beans in Scala
Asynchronous version using Lambdas
Java 8 Lambdas vs. Scala function literals
We need ugly anonymous classes
Person resource in Scala
Repository
Final example: JDBC
JDBC: Java Batch Update
JDBC Scala names collection
JDBC Scala batchUpdate
Convert from Scala
JDBC Scala print query
Convert from Java
Translation steps . Use Scala mutable collection when calling Java
3. Evaluation
Simple translation steps
Scala SDK is getting better dealing with Java
Conclusion
Taught by
Spring I/O