Please enable JavaScript.
Coggle requires JavaScript to display documents.
React, Spring MVC, Servlets, Spring - Coggle Diagram
React
Making a component
Return function
Uppercase first letter
Return jsx component
Easier than React.CreateELement
Must only return 1 html element
camel case for attributes
ReactDom Render
Using components inside another component
Component within component
npm commands
npm init
npm install -g vs npm install --save
JSX CSS
javascript object
overriding power
JSX JS in HTML Elements
Add shit
props
optional
children
destructuring
params
object
Adding a CSS File
className
Creating a react project
Spring MVC
View
Creating jsp files
Using xml files
Returning jsp files for a request
Expression language in jsp
InternalViewResolver
Controller
Creating servlets
Use xml files
AbstractAnnotationConfigDispatcherServletInitializer
Reads in servlets automatically like component scan
RequestParameter
EnableWebMvc
Spring dispatcher servlet
Connecting java servlet class to dispatcher servlet file
Model
Simple java objects to take care of logic
ModelAndViewClass
Add JSP File
Servlets
Directing Servlets
Request Dispatcher
SendRedirect
Sending data between servlets
Reading data passed b/w servlets
get parameters vs get attribute
HttpSession
Cookies
Servlet context
servlet config
Creating servlets
in Web xml
init params
Get, Post service methods
Spring
REST API
Controller Class
GetMapping
PutMapping
PostMapping
DeleteMapping
Returning multiple items
Spring Core
Dependency Injection
Beans
ApplicationContext
Creating POJOs
ClassPathXmlApplicationContext vs FilePathXmlApplicationContext
Spring bean xml file
Setting value
Header
Bean tags with certain class and id
Constructor injection
Multiple params
Component Annotation
Autowired Annotation
AnnotationConfigApplicationContext
DI with beans
DI with no eans
Bean tag
Primary Tag
Qualifier Tag
ComponentScan
Custom names