Skip to content

An overview guide of the role of Spring Boot MVC in Java Microservices.

Notifications You must be signed in to change notification settings

chaseofthejungle/intro-to-spring-boot-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Intro to Spring Boot MVC

Definition/Overview: Spring Boot MVC is an open-source model-view-controller framework built into the Spring Boot libraries, which are utilized for streamlining the setup, programming, configuration, and deployment of Java microservice applications.

Examples of Spring Boot features include diagnostic checks, production-ready metrics, customizable startup configurations, and embedded app servers (e.g., Jetty, Tomcat, Undertow). No code or XML generation is necessary to create Spring Boot projects, and best configurations for projects are automatically determined (and manually adjustable, as desired or needed).

Note: Spring differs from Spring Boot in that it is a configuration framework that empowers enterprise Java app developers with flexible, ready-to-use controls and boilerplate code that make apps quicker and simpler to setup, allowing developers to focus more on the other aspects of development. The Spring Boot framework is assembled 'on top of' it, with extra features (such as additional configuration tools) that make generating stand-alone/autonomous apps even more convenient to setup and configure.

Table of Contents:

  1. Dispatcher Servlets
  2. Spring Servlet XML Configuration
  3. Controllers
  4. Models
  5. Autowiring
  6. RESTful Service URLs

Dispatcher servlets are utilized when handling incoming requests and routing them via Spring.


Spring is configured to search for a servletname-servlet.xml file in a folder called /WEB-INF.


Controllers can be utilized to retrieve classes and the objects associated within a class.


Models allow for objects to be passed from controllers into views.


Autowiring enables Spring to instantiate a class. The class's methods become accessible at runtime via dependency injection.


These allow for CRUD database operations (creating, reading, updating, deleting) to be accomplished through HTTP methods (such as GET, POST, PUT, and DELETE).


TODO: Details for each section, including code examples as relevant.

About

An overview guide of the role of Spring Boot MVC in Java Microservices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published