Главная
Study mode:
on
1
Intro
2
Overview
3
Target audience
4
Why Scala?
5
Why Scala & Spring
6
2. Examples
7
First example: serving web content with Spring MVC
8
Make Gradle work with Scala
9
Application class
10
Template
11
Controller
12
Example: consuming REST services
13
Beans in Scala
14
Asynchronous version using Lambdas
15
Java 8 Lambdas vs. Scala function literals
16
We need ugly anonymous classes
17
Person resource in Scala
18
Repository
19
Final example: JDBC
20
JDBC: Java Batch Update
21
JDBC Scala names collection
22
JDBC Scala batchUpdate
23
Convert from Scala
24
JDBC Scala print query
25
Convert from Java
26
Translation steps . Use Scala mutable collection when calling Java
27
3. Evaluation
28
Simple translation steps
29
Scala SDK is getting better dealing with Java
30
Conclusion
Description:
Explore a conference talk from Spring I/O 2016 that delves into using Spring with Scala. Learn how to introduce Scala into an existing Java/Spring environment and discover the benefits of combining these technologies. Gain insights into translating Spring guides from Java to Scala, covering topics such as serving web content with Spring MVC, consuming REST services, and working with JDBC. Understand the compatibility between Scala and Spring, and see how developers can leverage their Spring experience while adopting Scala. Follow along as the speaker demonstrates practical examples, discusses translation steps, and evaluates the integration of Scala with Spring. By the end of this 29-minute presentation, grasp how Scala can complement Spring development without sacrificing efficiency or abandoning existing expertise.

Using Spring with Scala

Spring I/O
Add to list