Event promoted by DevSuperior to improve the best practices of Spring with Java and has React JS as an additional.

Overview

Semana-Spring-React (sds3.0)

Introduction

SDS3 is an event promoted by DevSuperior which aims to help students and programming professionals to enter or re-enter their careers.

That event improve abilities required to an Full Stack Developer build a system with a quality architecture!

Event

The event starts on 2021-03-05 and ends on 2021-09-05. Has 3 stages and 1 day additional for any question and ending:

  • 2021-03-05 'Spring' and 'React' in business
  • 2021-05-05 Going deeper into practice
  • 2021-07-05 The career map
  • 2021-09-05 Doubts and Closing

Technical knowledge

Tools list

  • Backend - Optional IDEs to Java
    • Spring Tool Suite (STS)
    • Eclipse
    • intellij
  • Backend - Optional IDEs to SQL
    • pgAdmin - PostgreSQL
  • Frontend - Optional IDEs to React JS
    • VS Studio Code
    • Atom
  • RESTful services
    • Postman
    • Insomnia
  • Deployment and scaled hosting
    • Netlify
    • Heroku

Layers Pattern

image host

Front end: application that the client uses on his device, that is, is accessible on the client side.

Back end: is the part of the system that is running on the server.

The user using the Front end is exchanging interactions and / or data with Back end. This data exchange can be done in several ways forms, but in this case, in the context of the web, requests are being used HTTP (Hypertext Transfer Protocol)

Analyzing the internal part of the Back end we have logical layers, each partition has a purpose and is divided into 3 main layers:

  • Rest Controllers
    • You will receive requests from the Front end to the Back end
    • Forwards the customer's actions to the Service Layer
  • Service Layer
    • Has the system / business logic
    • Responsible for checks, calculations, orchestration of various operations
  • Data Access Layer
    • Basic data access operations in the database (CRUD)

This system organization is important to make the system flexible and easy to maintain.

Analogy to show the difference between the Service Layer and Data Access Layer layers:

Imagine that you will need to save an order on an e-commerce system. To save the order it is necessary to trigger / call a function from the database. However, before saving this order it is necessary to do a lot of checks, in which the Service Layer layer will be responsible:

  • Check if the stock is up to date
  • Write off inventory
  • If the inventory policy allows you to sell without having the product
  • Write off inventory
  • Send e-mail to the customer, notifying the customer about the order

The operations that go directly into the database and do something, is that will be in the Data Access Layer (CRUD) layer. But the whole orchestration, the order when things have to happen, it will be on Service Layer.

Data Transfer Objects (DTO): are simple objects to load / traffic data between Rest Controllers and Service Layer. But when you enter the Service Layer and need to make transactions with the data then Entities will be instated. The concept of Entities in this scenario, is that Entities will play the role of objects that will be monitored, controlled ... to maintain the integrity of the database. So the moment you access the Service Layer and the orchestrations / operations start to occur ... Entities will be instantiated, saved, deleted, updated, etc ... Using the Data Access Layer ... but all of these operations are being monitored to maintain integrity of the data.

Devices

Hosting

Visit: Link

Source

You might also like...

Additional plug-ins and extensions for Java's ImageIO using native libraries

NightMonkeys A collection of ImageIO plugins, adding support for newer image formats. NightMonkeys uses the newer Foreign Linker API available in JDK

Dec 3, 2022

Best practice of monolithic spring application starter

Best practice of monolithic spring application starter

Best practice of monolithic spring application starter

Jul 19, 2022

🖥 CRUD Angular + Spring demonstrating Has-Many relationship, including tests for the back-end and front-end

REST API with Spring Boot and Angular CRUD Angular + Spring demonstrating Has-Many relationship, with tests. 💻 Tecnologies Java 17 Spring Boot 3 JPA

Dec 28, 2022

Log4j-RCE (CVE-2021-44228) Proof of Concept with additional information

Log4j-RCE (CVE-2021-44228) Proof of Concept with additional information

Log4J-RCE-Proof-Of-Concept (CVE-2021-44228) This is a proof of concept of the log4j rce. Here are some links for the CVE-2021-44228: https://www.lunas

Dec 2, 2022

A fast and reliable Java micro-library which chooses the sorting algorithm that best fits your needs and sorts the parameter.

A fast and reliable Java micro-library which chooses the sorting algorithm that best fits your needs and sorts the parameter.

Feb 19, 2022

The goal of this project is to play with Spring Cloud Stream Event Routing and CloudEvents

The goal of this project is to play with Spring Cloud Stream Event Routing and CloudEvents. For it, we will implement a producer and consumer of news & alert events.

Oct 28, 2022

Sceneform React Native AR Component using ARCore and Google Filament as 3D engine. This the Sceneform Maintained Component for React Native

Sceneform React Native AR Component using ARCore and Google Filament as 3D engine. This the Sceneform Maintained Component for React Native

Discord Server Join us on Discord if you need a hand or just want to talk about Sceneform and AR. Features Remote and local assets Augmented Faces Clo

Dec 17, 2022

With react-native-update-in-app library you can easily implement in-app updates in your React Native app using CDN or any other file server

React Native In-App update With react-native-update-in-app library you can easily implement in-app updates in your React Native app using CDN or any o

Dec 21, 2022

Observing a sequence of objects that can be numerically ranked best and worst.

Optimal-Stopping The Secretary Problem from Optimal Stopping. https://en.wikipedia.org/wiki/Optimal_stopping Observing a sequence of objects that can

Feb 3, 2022
Owner
Gilson Vieira de Souza
Computer Scientist
Gilson Vieira de Souza
Spring Boot REST API authentication best practices using JWT

Spring Boot REST API authentication best practices using JWT Token based API authentication with Spring Security and JWT (JSON web Token) Overview Thi

Prafful Lachhwani 34 Dec 22, 2022
Projeto desenvolvido durante a Semana Spring React da DevSuperior

Projeto DSVendas Projeto desenvolvido durante a Semana Spring React da DevSuperior 3, ministrado por Nélio Alves. O evento ocorreu entre 03.05.21 à 09

Vitor Versiani 3 May 8, 2021
Projeto em desenvolvimento durante a Semana Spring React - DevSuperior

Projeto desenvolvido durante a Semana Spring React - DevSuperior Aplicação Web com um Dashboard de Vendas Tecnologias utilizadas: Banco de Dados: Post

Inês Souza 2 Dec 13, 2021
A Zombie invasion has occurred at the Code Academy Campus and now Alcatrinha has to fight the zombies to death! (2D TopView Shooter)

Hello everyone, welcome to Zombie ACADalypse!! A Zombie invasion has occurred at the Code Academy Campus and now Alcatrinha has to fight the zombies t

Mario Vieria 1 Dec 17, 2021
Projeto criado na semana Spring React organizado pela escola Dev Superior com foco na prática/aprendizado das tecnologias Spring e React.

DSVendas Projeto criado na semana Spring React organizado pela escola Dev Superior com foco na prática/aprendizado das tecnologias Spring e React. htt

João Gabriel 3 May 18, 2021
循序渐进,学习Spring Boot、Spring Boot & Shiro、Spring Batch、Spring Cloud、Spring Cloud Alibaba、Spring Security & Spring Security OAuth2,博客Spring系列源码:https://mrbird.cc

Spring 系列教程 该仓库为个人博客https://mrbird.cc中Spring系列源码,包含Spring Boot、Spring Boot & Shiro、Spring Cloud,Spring Boot & Spring Security & Spring Security OAuth2

mrbird 24.8k Jan 6, 2023
The Spring Boot Sample App on K8S has been implemented using GKE K8S Cluster, Spring Boot, Maven, and Docker.

gke-springboot-sampleapp ?? The Spring Boot Sample App on K8S has been implemented using GKE K8S Cluster, Spring Boot, Maven, and Docker. Usage To be

KYEONGMIN CHO 1 Feb 1, 2022
In this course, we will learn how to build a complete full-stack web application using Spring boot as backend and React (React Hooks) as frontend

In this course, we will learn how to build a complete full-stack web application using Spring boot as backend and React (React Hooks) as frontend. We will use MySQL database to store and retrieve the data.

Ramesh Fadatare 43 Dec 22, 2022
QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties

QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties quickperf.io ?? Documentation Annotations

null 365 Dec 15, 2022
A small mod to improve support for architectures and libraries officially unsupported by Minecraft. Mainly targeting Apple Macs using arm processors.

fabric-loom-native-support A small mod to improve support for architectures and libraries officially unsupported by Minecraft. Mainly targeting Apple

FabricMC 5 Oct 17, 2022