Cheat Sheet
This cheat sheet contains important takeaways that lead up to section one.
Introduction to Spring Boot
Creating a Spring Boot Project with Maven
Group Id
: Identifies the organization (ex: com.ltp)Artifact Id
: Determines the name of the application (ex: hello-spring)Dependency
: Software that your application depends on.
Maven Standard Directory Layout:
src/main/java
: source code.src/main/resources
static
: images, CSS, static HTML.templates
: dynamic HTML templates.application.properties
: application properties and settings.
src/test/java
: application tests.
Compiling and Running
mvnw spring-boot:run
: compiles and runs your application.mvnw clean spring-boot:run
: cleanstarget
folder, compiles, and runs your application.mvnw package
: builds and packages the compiled classes into aJAR
file.java -jar
: runs theJAR
file.
Client-Server Model
- Client: Entity making a request.
- Server: Machine receiving the request.
- IP address: Sequence of numbers that identifies a server.
- Port: Tells the server where to forward the request.
- HTTP Server: Software that processes requests.
Feedback Summary
5.0
4 students
5
100%
4
0%
3
0%
2
0%
1
0%
Written Reviews
There are no written reviews yet.