© 2014 SpringOne 2GX. All rights reserved. Do not distribute without permission.
APPLICATION DEVELOPMENT
! @OLIVERGIERKE " [email protected]
THE LAZY PROGRAMMER’S GUIDE TO
WITH JAVA
THE FASTEST PATH TO NEW BUSINESS VALUE
?
Spring Framework
Spring Boot
We ♥ Java!No, it’s not Stockholm syndrome.
Maybe… a little bit.
@RestControllerpublic class WelcomeController {
@RequestMapping(path = "/", method = RequestMethod.GET)public Map<String, Object> welcome(@RequestParam Optional<String> name) {return Collections.singletonMap("greeting", name.orElse("World").concat("!"));
}}
GET http://localhost:8080/ -> { "greeting" : "Hello World!" }
GET http://localhost:8080/?name=Ollie -> { "greeting" : "Hello Ollie!" }
SALESPOINT
Software Engineering
"In theory there is no difference between theory and practice. In practice – there is.
– Yogi Berra
JAVATOOLING
TEAM &TOOLING
LIBRARIES &FRAMEWORKS DDD & JPA
JAVATOOLING
TEAM &TOOLING
LIBRARIES &FRAMEWORKS DDD & JPA
• IDEs • Dependencies • Build
• Issue tracker • Version control • CI
• JUnit • Spring • Web apps
• Entities, Value Object • Repositories • Persistence
TODAY JUNE, 23RD
JUNE, 30TH JULY, 7TH
Scripts$ http://static.olivergierke.de/lectures
% https://github.com/olivergierke/lectures