👍Java Spring Boot & Microservice Realtime Project development CT👍
👍Java Spring Boot & Microservice Realtime Project development CT👍
February 7, 2025 at 09:08 AM
*3 Tasks for today: 7Feb* ✅ 1. Strongly understand process of working on project. Agile|Jira|IDE|GIT|MAVEN|SpringBoot|Tomcat|Postman|UnitTesting|Logging|AWSDevEnv|CodeReview&Merge|QAEnv ✅ 2. Theory understanding of how to work with Git Branching. Understand need of version control. ✅ 3. Execute your Spring Boot application, as you would do on AWS. ====================== 1. Strongly understand process of working on project. Agile|Jira|IDE|GIT|MAVEN|SpringBoot|Tomcat|Postman|UnitTesting|Logging|AWSDevEnv|CodeReview&Merge|QAEnv - Whatever we completed on Day1, Day2, Day5(today), have strong understanding of each of the topic. - You should have clarity, of entire working process. Which tools are for what purpose. - You should be able to explain strongly during interview. - Be clear on terminologies. - How Jira updates should happen, all throughout the project cycle. ========================= 2. Theory understanding of how to work with Git Branching. Understand need of version control. - Draw a diagram, to represent the entire flow, and explain, as if you are discussing during interview. - Explore internet & get confidence, that its mandatory to have version control tool in project, like git. - Know that "master branch" is for PROD deployment, integration branch for qa deployment, feature branch is for new development. - Branches are created in bitbucket/GitHub, and then you can clone in local machine for coding. - Once entire coding happens on feature branch, then raise a pull-request to lead, for code review. - Once code is reviewed, then it merges to integration branch. Gain theory understanding on these topics. Next week, we will see practical demonstration of this, then more grip on topic will happen. ======================= 3. Execute your Spring Boot application, as you would do on AWS. - You can run in your local machine itself. - Main approach is to create jar file, and execute using "java -jar" Apply the steps - create local deploy folder - use maven command to build jar file for your spring boot app - install mobaxterm https://drive.google.com/file/d/1_8eNxMh_0k8KDmPeez9VS7d71HiafRSu/view?usp=drive_link - From MobaXterm go to target folder where jar is created - copy jar from target to deploy folder (using mobaxterm) - Execute as executable jar file. - explore the nohup command. nohup java -jar -Xms100M -Xmx150M demo-0.0.1-SNAPSHOT.jar > demo.log & - The process would run as backgroup process. - Use chatgpt to identify & kill the process, before starting again. - Hand's on practice the key Linux commands - pwd, date, ll, ls, cd, cd, mkdir, vi, tail, grep, ps -ef, kill -9. - These commands are daily used very commonly, so practice it very strongly. Have theory understanding of ssh & scp commands, with secret key. Eg: ssh -i D:\\ctdata\\aws\\feb25ct-key-pair-test.pem [email protected] scp -i D:\\ctdata\\aws\\feb25ct-key-pair-test.pem ./demo-0.0.1-SNAPSHOT.jar [email protected]:/home/ec2-user nohup java -jar -Xms100M -Xmx150M demo-0.0.1-SNAPSHOT.jar > demo.log &

Comments