Viktor Martiš
(spring-boot)
- IDEA shortcut: multicursor - Alt + J
- Observer pattern
- Web services
- SOAP, WSDL
- Spring-ws, soup-ui
- IDEA shortcut (git commands): Ctrl + K, Ctrl + Shift +K,Alt + 9
- Design pattern: Chain of responsibility
- spring-boot
- lombok
- spring-data-jpa
-
IDEA shortcut:
- Commit: Ctrl + K
- Push: Ctrl + Shift +K
- Version control panel: Alt + 9
- comes under behavioral patterns
- chain of receiver objects having the responsibility, depending on run-time conditions, to either handle a request or forward it to the next receiver on the chain
- Real implementation: servlet filters
- easy to create stand-alone, production-grade Spring based Applications
- Run: java -jar XXX.jar
- non-functional features:
- embedded servers
- security
- metrics
- health checks
- externalized configuration
- no code generation and non XML configuration
- Stable version: 1.5.9, 2.0 RC
-
Servlet containers Tomcat [7,8], Jetty [9.2, 9.3]
- Support Maven or Gradle
- Java/Kotlin/Groovy
- set of convenient dependency descriptors that you can include in your application
- contain a lot of the dependencies
- Application class - place in root package
- @EnableAutoConfiguration
- @ComponentScan - default root package
- @SpringBootApplication
- @Configuration
- @EnableAutoConfiguration
- @ComponentScan
- By default Logback (other options JUL, LOG4J).
- configuration in "application.properties"
- console
- file
- Generation of getters, setters, constructos, toString, hashCode, ...
- IntelliJ plugin
- Other IDE plugins