1. Hibernate one to one , one to many and many to many mappings in effective way https://vladmihalcea.com/the-best-way-to-use-the-manytomany-annotation-with-jpa-and-hibernate/ https://vladmihalcea.com/the-best-way-to-map-a-onetoone-relationship-with-jpa-and-hibernate/ https://vladmihalcea.com/the-best-way-to-map-a-onetomany-association-with-jpa-and-hibernate/ Some of the hibernate and JPA property spring.h2.console.enabled=true - to enable h2 in memory database spring.jpa.show-sql=true - to see all the query in logs spring.jpa.properties.hibernate.format_sql=true - to see all sql in proper format logging.level.org.hibernate.type=trace
Tag: Spring
All about Micro Services
Rest Api's best practice blog https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9 micro service with messaging queues like rabitMQ https://medium.freecodecamp.org/how-to-scale-microservices-with-message-queues-spring-boot-and-kubernetes-f691b7ba3acf learn kubernetes guide of 3 hours https://medium.freecodecamp.org/learn-kubernetes-in-under-3-hours-a-detailed-guide-to-orchestrating-containers-114ff420e882 An introduction to docker and container https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b Communication between Microservices https://dzone.com/articles/communicating-between-microservices https://dev.to/matteojoliveau/microservices-communications-why-you-should-switch-to-message-queues--48ia Biggest challenge with micro service https://dzone.com/articles/challenges-in-implementing-microservices when to use rabitMQ and kafka https://content.pivotal.io/blog/understanding-when-to-use-rabbitmq-or-apache-kafka tech world video series on micro service different component … Continue reading All about Micro Services
Testing(Junit,Mockito,wiremock)
Basic of Mockito: https://github.com/in28minutes/MockitoTutorialForBeginnersWrite basic Junit test case and mocking service inside test classhttps://www.youtube.com/watch?v=d2KwvXQgQx4Testing rest Api's using spring framework mockmvc.https://www.youtube.com/watch?v=8S8o46avgAwhttps://stackoverflow.com/questions/18164123/how-to-clean-up-mocks-in-spring-tests-when-using-mockitohttps://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html