https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04 Install docker and check status sudo docker --version .Install Docker UI , it would be easy to manage docker containers, images, IP, portLearn basic commands of docker like sudo docker ps will list out running processes( containers) refer this more https://docs.docker.com/reference/When you run an image a container start with alpine version of linux by … Continue reading Introduction to Docker
Introduction to Rabbit MQ
Rabbit MQ Messages are not published directly to a queue, instead, the producer sends messages to an exchange. An exchange is responsible for the routing of the messages to the different queues. An exchange accepts messages from the producer application and routes them to message queues with the help of bindings and routing keys. A … Continue reading Introduction to Rabbit MQ
Journey of Monolithic code to independent services
Journey of Monolithic to Independent Services Problem Statement: We were maintaining 4 separate Branch , 3 instances [Version Management, Project RM, Process RM] Version Management code : Running separate instance , 5081 lines of code in single class Project Release Management : Running separate instance , 4731 lines of code in single class Process Release Management: Running separate instance , 4684 lines of code in single class Solution … Continue reading Journey of Monolithic code to independent services
JPA and Hibernate mappings
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
Java 8 features, Collections
Java ArrayList Class - Java ArrayList class can contain duplicate elements.Java ArrayList class maintains insertion order.Java ArrayList class is non synchronized.Java ArrayList allows random access because array works at the index basis.In Java ArrayList class, manipulation is slow because a lot of shifting needs to occur if any element is removed from the array list. … Continue reading Java 8 features, Collections
All about Spring boot
Spring meaningful interview Question http://www.springboottutorial.com/spring-boot-interview-questions Spring comparison http://www.springboottutorial.com/spring-boot-vs-spring-mvc-vs-spring what is dependency injection and IOC https://www.codeproject.com/Articles/592372/Dependency-Injection-DI-vs-Inversion-of-Control-IO Spring Data-Rest for Haetos and spring inbuilt api's https://dzone.com/articles/introduction-to-spring-data-rest Details Analysis of Java with Java Framework https://www.edureka.co/blog/interview-questions/java-interview-questions/#JDBC Java Multi threading collable and FutureTask and Java Executor https://www.geeksforgeeks.org/callable-future-java/ Java Comparable Vs Comparator https://www.geeksforgeeks.org/comparable-vs-comparator-in-java/ Must Spring boot Video series https://www.youtube.com/watch?v=WO85d3yXGIM&list=PLQaBzcRBHtnNH2Cjn9w3Dyap4IYookqsb&index=1 Component of … Continue reading All about Spring boot
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
The Journey Begins
Thanks for joining me! Good company in a journey makes the way seem shorter. — Izaak Walton