SPRNG Boot
SPRNG Boot
TOOLS=> MAVEN , GITHUB, SONARQUBE, LOG4J, JUNIT AND MOCKING, JENKINS, DOCKERS,
KUBERNETES, APACHA KAFKA, JMETER,
JIRA, REDIS, POSTMAN , SWAGGEER, LINUX, AWS, DEVOPS
Programming Language
=======================
===========
Technology
===========
=> It is developed by Programming language
=>simplified the task
=============
Framework ex, spring, springboot etc
==========
=> It saves the time to write code as it write common code not require for user to
write it again .
=========
TOOLS
==========
=> 1. MAVEN,
2. JIRA,
3. JENKINS,
4. JMETER,
5. pOSTMAN,
6. SONARQUBE ETC.
==================================
APPLICATION ARCHITECTURE
===================================
Frontend techstack:
1.HTML & css
2.Java Script
3.Bootstrap
4.Angular or react or vue js
Backend : web layer(Rest api (controller) , + Buisness layer + Integration layer (
third party app we interact gpay, sms etc ) + Dao Layer
===================
ARCHITECTURE TYPES:
===================
1.MONOLITH : ALL FUNCTIONALITY + DATABASE
2.MICROSERVICES : ALL FUNCTIONALITY ARE IN DIFF PROJECT + DATABASE(ALSO WE
USE MULTIPLE DATABASE IF WE WANT FOR EACH FUNCTIONALITY)
===================
TYPES OF FRAMEWORK:
===================
1) fRONTEND : USER INTERFACE DEVELOPMENT Purpose.
ex: Angular.
=> By using struts we can develop only controller or web layer in project
=> By using Hibernate we develop Dao layer or data access layer
1. SPRING CORE :
=> It provide the fundamental concepts:- IOC Container, dependency Injection, Bean
life cycle , Bean Scopes, Autowiring etc.
It help in maintainence
ex - Load driver
Get connection
create statement
execute the queerry
Close the connection
=> Using sprng jdbc we can directly execute the querry the remaining
part will take care by spring jdbc .
5.Sprng Web MVC : It is used to develop both Web App and distributed Applications
7.Spring Security:
=> Security is very crusial for every app.
=> we can impliment Authentication and Authrization
=> Sprng security with oAuth2.0
=> Sprng security with jWT
8. Spring Batch:
It means Bulk Operatin
Reading data from excel and store in database table
Send month salary to employee mail
9. Spring Cloud:
It provide service registry to register microservices
It provide API Gateway to have single entry point
It provide Load balancer to balance load of our app
It provide Monitoring facility
It provide circuit breaker(Fault tolerant/ Resillence) routing.
1.
============
SPRING CORE: It is all about Managing the dependencies among all the classes with
loossely coupling
============
3 types of classes we can create in project:
i)Pojo, ii) java bean iii) Component
-> ANy java class which can be compiled by using only Jdk software is called as
POJO class.
=============
=>ii) java Bean: Any java class which follows bean specification rules is called as
java Bean.
=============
=============
Component
===============
=> The java class which contains the business logic is called as component classes.
=> controller classes will have logic to deal with Request & Response
=> Service classes will have business logic of our Project
Ex; Generate OTp, send otp, send email, encry or decryppt paswd.
=> DAO class will contain the logic to communicate with Database.
=> In java one class can talk to other claa in two ways:
1. Inheritance (is - a) extends
2. composition (has-a) create object