Architecture

Last updated

What is Architecture?

Spring Boot follows a layered architecture in which each layer communicates with the layer directly below or above (hierarchical structure) it. The four layers in Spring Boot are as follows:

  • Presentation Layer: handles the HTTP requests, translates the JSON parameter to object, and authenticates the request and transfer it to the business layer.
  • Business Layer: The business layer handles all the business logic. It consists of service classes and uses services provided by data access layers. It also performs authorization and validation.
  • Persistence Layer: The persistence layer contains all the storage logic and translates business objects from and to database rows.
  • Database Layer: In the database layer, CRUD (create, retrieve, update, delete) operations are performed.

Free resources to learn Architecture

More in stage 1: Introduction

Architecture: common questions

Can I learn Architecture in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Architecture in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Architecture tutorial for beginners?

It is lesson 3 of 46 in the free Spring Boot roadmap, in stage 1, Introduction. If you are new to Spring Boot, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me