mv application.properties application.yml
spring:
profiles:dev
server:
port:81
---
spring:
profiles:prod
server:
port:80
mvn clean package
java -jar -Dspring.profiles.active=dev target/initial-boot-app-0.0.1-SNAPSHOT.jar
Actuator:
https://www.linkedin.com/learning/spring-boot-essential-training/spring-boot-actuator
localhost:8080/env
/health
/mappings
/health
/metrics
/configprops
/env
/loggers
/mappings
Spring Security
https://www.linkedin.com/learning/spring-boot-essential-training/implementing-spring-security
spring.thymeleaf.cache=false
2019-11-27
2019-11-26
Java Stream API
Processing Data with Java SE 8 Streams, Part 1
https://www.oracle.com/technical-resources/articles/java/ma14-java-se-8-streams.html
Part 2: Processing Data with Java SE 8 Streams
https://www.oracle.com/technical-resources/articles/java/architect-streams-pt2.html
Package java.util.stream
https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html
Interface Stream
https://docs.oracle.com/javase/8/docs/api/?java/util/stream/Stream.html
https://www.youtube.com/watch?v=t1-YZ6bF-g0
Intermediate operations:
filter
map
flatmap
sort (sorted?)
anyMatch
distinct
findFirst
skip
Terminal operations:
forEach
collect
reduce
count
min
max
summaryStatistics
Stream API,part 1 https://www.youtube.com/watch?v=O8oN4KSZEXE
Intermediate operations:
filter
map
flatmap
peek
sorted
distinct
limit
skip
unordered
parallel
sequential
Terminal operations:
forEach, iterator
find[First|All]
[all|any|non]Match
reduction, collectors
Stream API,part 2 https://www.youtube.com/watch?v=i0Jr2l3jrDA
https://www.oracle.com/technical-resources/articles/java/ma14-java-se-8-streams.html
Part 2: Processing Data with Java SE 8 Streams
https://www.oracle.com/technical-resources/articles/java/architect-streams-pt2.html
Package java.util.stream
https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html
Interface Stream
https://docs.oracle.com/javase/8/docs/api/?java/util/stream/Stream.html
https://www.youtube.com/watch?v=t1-YZ6bF-g0
Intermediate operations:
filter
map
flatmap
sort (sorted?)
anyMatch
distinct
findFirst
skip
Terminal operations:
forEach
collect
reduce
count
min
max
summaryStatistics
Stream API,part 1 https://www.youtube.com/watch?v=O8oN4KSZEXE
Intermediate operations:
filter
map
flatmap
peek
sorted
distinct
limit
skip
unordered
parallel
sequential
Terminal operations:
forEach, iterator
find[First|All]
[all|any|non]Match
reduction, collectors
Stream API,part 2 https://www.youtube.com/watch?v=i0Jr2l3jrDA
2019-11-25
Java Spring Boot Tips
@PropertySource("classpath/application.properties")
@Value("${app_props_key}")
private String app_prop_val;
https://www.linkedin.com/learning/spring-framework-in-depth/implement-aop-advice-before
loggin.level.root=INFO
logMethodCall()
LOGGER.log(app method params
2019-11-14
Java learn & certification
https://docs.oracle.com/javase/tutorial/extra/certification/index.html
https://coderanch.com/c/certification
13 Free Java 8 Certification Online Mock Tests
https://www.java67.com/2017/05/10-free-java-8-certification-sample-questions-OCAJP8-OCPJP8-Mock-Exams.html
https://www.udemy.com/course/spring-boot-complete-guide-from-development-to-deployment/?LSNPUBID=JVFxdTr9V80&ranEAID=JVFxdTr9V80&ranMID=39197&ranSiteID=JVFxdTr9V80-s9R8rW3unDigzKT4CYcaOA
https://javarevisited.blogspot.com/2016/12/5-tips-to-prepare-for-oracle-java-certifications-OCAJP-OCPJP-exams.html?m=1
https://dou.ua/lenta/articles/java-11-developer-1/
Subscribe to:
Posts (Atom)