liveBook · Manning

Backend

As explained in Spring Start Here, Second Edition

The execution environment where backend software runs and processes client requests.

A backend is the server-side part of an application. It receives client requests, processes the requested data or action, and sends a response. It may also store data or communicate with databases and other services. section 1.3.1 section 7.1.1

Figure 7.2 The big picture of a web app: The user interacts with the app through its frontend. The frontend communicates with the backend to execute logic at the user’s request and get the data to display. The backend executes business logic and sometimes persists data in a database or communicates with other external services.

A web app’s frontend sends requests to the backend, which runs logic and may persist data or contact external services. section 7.1.1

Online banking

A bank backend manages account transactions for users accessing the service through web or mobile apps. It may persist data in a database and communicate with other backend systems. section 1.3.1

A backend can respond in two common ways:

  • It can send prepared content, such as HTML and CSS, for the browser to display. section 7.1.2
  • With frontend-backend separation, it sends raw data, such as JSON or XML, for a separate frontend app to process and display. section 7.1.2

How Spring Start Here, Second Edition covers it

How deep it goes
Defines the server-side role and contrasts response styles, while leaving implementation details to later Spring discussions.
Examples
Uses online banking, prepared HTML responses, and raw JSON or XML responses as examples.
What you can do after
Understand how a backend processes client requests and responds in a web app.
How it connects
Connects to frontend applications, HTTP requests, databases, external services, and Spring.

Also explained in

Compare how 5 books explain backend →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Spring Start Here, Second Edition. The section links point to the parts of the book it draws on.