Skip to content

Latest commit

 

History

History
165 lines (109 loc) · 7.47 KB

Technology.md

File metadata and controls

165 lines (109 loc) · 7.47 KB

Spring Master Test Drives

Actuator environment change and log level changes

  1. https://stackoverflow.com/questions/33844580/how-do-i-change-log-level-in-runtime-without-restarting-spring-boot-application
  2. https://dzone.com/articles/5-ways-to-change-the-log-levels-at-runtime

The @Transactional annotation

  1. https://dzone.com/articles/spring-transaction-management-an-unconventional-gu
  2. https://www.logicbig.com/tutorials/spring-framework/spring-data/transactions.html
  3. https://stackoverflow.com/questions/37217075/spring-nested-transactions
  4. https://www.marcobehler.com/guides/spring-transaction-management-transactional-in-depth

Using cassandra with JPA or anything else

  1. https://dzone.com/articles/spring-data-cassandra-using
  2. https://bezkoder.com/spring-boot-cassandra-crud/
  3. https://spring.io/projects/spring-data-cassandra
  4. https://docs.spring.io/spring-data/cassandra/docs/current/reference/html/#get-started:first-steps:spring
  5. https://github.com/Impetus/Kundera
  6. https://github.com/nosan/embedded-cassandra

Embedded containers

  1. https://www.java2novice.com/java_interview_questions/spring-boot-supported-embedded-containers/#:~:text=The%20spring%20boot%20framework%20supports,default)%2C%20Jetty%20and%20Undertow.
  2. https://dzone.com/articles/how-to-package-a-spring-boot-app-as-a-docker-container

Fat JAR and WAR

  1. https://stackoverflow.com/questions/45165428/differences-between-jar-and-war-in-spring-boot
  2. https://springhow.com/convert-spring-boot-jar-in-to-war/
  3. https://www.programmersought.com/article/16464558534/
  4. https://www.dist.cloud/blog/comparing-spring-boot-deployment-options/

ConditionalOnBean vs ConditionalOnClass for classes and methods at the same time and not

  1. https://docs.spring.io/spring-boot/docs/1.0.0.RELEASE/reference/html/boot-features-developing-auto-configuration.html
  2. https://stackoverflow.com/questions/31799855/spring-annotation-conditionalonbean-not-working
  3. https://howtodoinjava.com/spring-boot2/spring-boot-annotations/
  4. https://reflectoring.io/spring-boot-conditionals/
  5. https://www.slideshare.net/Pivotal/its-a-kind-of-magic-under-the-covers-of-spring-boot

Opinionated Spring Boot

  1. https://stackoverflow.com/questions/47018071/what-is-meant-by-spring-boot-follows-opinionated-defaults-configuration-approa/47018551
  2. https://dzone.com/articles/perils-of-opinionated-frameworks-like-spring-boot
  3. https://www.onlineinterviewquestions.com/why-in-spring-boot-opinionated-is/
  4. fusion-reactor.com/blog/technical-blogs/what-is-spring-boot/

Low level paradigms in a developper perspective

  1. https://www.toptal.com/spring/top-10-most-common-spring-framework-mistakes
  2. https://kodytechnolab.com/why-to-choose-spring-framework
  3. https://www.educative.io/blog/40-spring-interview-questions

Bean Lifecycle Order (constructor, setup, etc...)

  1. https://reflectoring.io/spring-bean-lifecycle/
  2. https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/beans/factory/config/BeanFactoryPostProcessor.html

Health indicators

  1. https://reflectoring.io/spring-boot-health-check/

TestRestTemplate

  1. https://stackoverflow.com/questions/25901985/difference-between-mockmvc-and-resttemplate-in-integration-tests
  2. https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/test/web/client/TestRestTemplate.html
  3. https://howtodoinjava.com/spring-boot2/testing/testresttemplate-post-example/

Secure Actuators

  1. https://stackoverflow.com/questions/56117631/how-to-secure-actuator-endpoints-with-role-in-spring-boot-2
  2. https://www.amitph.com/how-to-secure-spring-boot-actuator-endpoints/
  3. https://stackabuse.com/monitoring-with-spring-boot-actuator/
  4. https://howtodoinjava.com/spring-boot/actuator-endpoints-example/
  5. https://www.devglan.com/spring-security/securing-spring-boot-actuator-endpoints-with-spring-security
  6. https://www.devglan.com/spring-boot/spring-boot-actuator-tutorial-guide

Spring MVC / REST and JAX-RS

  1. https://stackoverflow.com/questions/42944777/difference-between-jax-rs-and-spring-rest
  2. https://www.infoq.com/articles/springmvc_jsx-rs/
  3. https://learnjava.co.in/jax-rs-vs-spring-rest/
  4. https://www.benchresources.net/resteasy-jax-rs-web-service-integrating-with-spring-mvc-web-framework/

@Component vs @Controller

  1. https://javarevisited.blogspot.com/2017/11/%C2%A7-between-component-service.html#:~:text=%40Component%20is%20a%20generic%20stereotype,layer%20(spring-MVC).
  2. https://stackoverflow.com/questions/20959969/inject-controller-into-another-spring-bean
  3. https://javapapers.com/spring/spring-component-service-repository-controller-difference/
  4. https://www.edureka.co/community/31568/component-controller-repository-service-annotations-framework

Packaging containers in Spring

  1. https://howtodoinjava.com/spring-boot2/war-packaging-example/
  2. https://www.javatpoint.com/spring-boot-packaging
  3. https://www.codejava.net/frameworks/spring-boot/how-to-package-spring-boot-application-to-jar-and-war
  4. http://dolszewski.com/spring/dual-jar-war-build-for-spring-boot/
  5. https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.traditional-deployment
  6. https://spring.io/blog/2018/11/08/spring-boot-in-a-container
  7. https://dzone.com/articles/packaging-springboot-application-with-external-dep
  8. https://www.profit4cloud.nl/blog/building-containers-with-spring-boot-2-3/
  9. https://blog.frankel.ch/hitchhiker-guide-containerizing-java-apps/

Packaging multiple embedded servlet containers

  1. https://spring.io/blog/2014/03/07/deploying-spring-boot-applications
  2. https://www.dailyrazor.com/blog/tomcat-vs-jetty/
  3. https://docs.spring.io/spring-boot/docs/1.5.10.RELEASE/reference/html/howto-embedded-servlet-containers.html
  4. https://vaadin.com/docs/v14/guide/production/servlet-containers
  5. https://programmer.ink/think/using-external-servlet-container-in-springboot.html
  6. https://spring.io/blog/2017/03/22/spring-tips-servlet-container-deployment-options
  7. https://docs.spring.io/spring-boot/docs/1.0.x/reference/html/build-tool-plugins-maven-plugin.html

Using Spring @Transactional vs using Javax @Transactional

The database that the TestTemplate uses

  1. https://reflectoring.io/spring-boot-data-jpa-test/
  2. https://zetcode.com/springboot/datajpatest/
  3. https://www.arhohuttunen.com/spring-boot-datajpatest/
  4. https://bezkoder.com/spring-boot-unit-test-jpa-repo-datajpatest/
  5. https://howtodoinjava.com/spring-boot2/testing/datajpatest-annotation/
  6. https://www.javaguides.net/2018/09/spring-data-jpa-repository-testing-using-spring-boot-datajpatest.html

Injecting @Controller or @RestController

Configuring Security from Specific to General and from General to Specific

Changing Info Actuator endpoint content

  1. https://codeboje.de/spring-boot-info-actuator/
  2. https://dzone.com/articles/spring-sweets-add-git-info-to-info-endpoint

TestTransaction

  1. https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#testcontext-tx-programmatic-tx-mgt

Http Tracing

  1. https://docs.spring.io/spring-boot/docs/2.1.0.M1/reference/html/production-ready-http-tracing.html

External test libraries

  1. https://www.journaldev.com/22193/easymock-tutorial

Interview Questions

  1. https://www.java67.com/2021/02/spring-boot-actuator-interview-questions-answers-java.html

Back | Reminders | Spring Boot