The document summarizes the key features and highlights of Spring Boot 1.3, which is scheduled for release in September 2015. Some of the main things covered include Spring 4.2 support, new auto-configurations for caching, OAuth2, and other components, improvements to non-functional aspects like metrics export, and enhancements to DevOps tools including a systemd service generator and improved development tools. Upcoming user group events related to Spring are also announced.
10. • Spring 4.2 Support
• New AutoConfigures
• Non-functionalities
• DevOps
Highlights of Spring Boot 1.3
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.3-Release-Notes
11. Today s Demo Sources
https://github.com/making/
demo-spring-boot-1.3
12. • Spring 4.2 Support
• New AutoConfigures
• Non-functionalities
• DevOps
Highlights of Spring Boot 1.3
13. Spring 4.2 Support
• Server Sent Event (SSE)
• Cross Origin Resource Sharing (CORS)
• ScriptEngineView
• CompletableFuture
• and so on…
Released
Yesterday!
https://spring.io/blog/2015/07/31/spring-framework-4-2-goes-ga
14. • Spring 4.2 Support
• New AutoConfigures
• Non-functionalities
• DevOps
Highlights of Spring Boot 1.3
34. jOOQ
@Repository
public class CustomerRepository {
@Autowired
DSLContext dslContext;
public List<Customer> findAll() {
return dslContext.select()
.from(CUSTOMERS)
.orderBy(CUSTOMERS.FIRST_NAME.asc())
.fetchInto(Customer.class);
}
}
AutoConfigured
Exception Handler, TransactionManager…
are also configured
35. Spring Session
AutoConfigure for Spring Session
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-redis</artifactId>
</dependency>
36. Spring Session
@SpringBootApplication
@RestController
public class Demo {
@Value("${server.port:8080}") int port;
@RequestMapping("/")
String hello(HttpSession session) {
return "port=" + port + ", id="
+ session.getId();
}
public static void main(String[] args) {
SpringApplication.run(Demo.class, args);
}
}
Nothing special!
61. Wrap Up
Spring 4.2
• Server-Sent Events
• CORS
• ScriptEngineView
• CompletableFuture
New AutoConfigures
• Cache
• OAuth2
• Spring Session
• jOOQ
Non-functionalities
• OpenTSDB Metrics
• StatsD Metrics
• New Healthcheck
DevOps
• Ascii Color Banner
• Systemd Service
• DevTools
62. Announce!!
• Spring in Summer
• 2015-08-28(Fri.)09:30 - 18:30
• GranTokyo South Tower
https://jsug.doorkeeper.jp/events/27682
Largest Spring
Event in Japan!!