Spring Boot. БЫСТРЫЙ старт. Backend

База по Spring Boot, немного истории, плюсы и минусы, что хорошо, а что плохо =) и в придачу топ 100 аннотаций, которые используются в моей команде. Класс приложения @SpringBootApplication @EnableScheduling @EnableCaching @EnableJms @EnableJpaRepositories @EnableAutoConfiguration @EnableAdminServer @EnableConfigServer @EnableDiscoveryClient @EnableEurekaServer @EnableFeignClients @EnableReactiveFeignClients @EnableReactiveMethodSecurity @EntityScan Основное @Autowired @Bean @Primary @Qualifier @Repository @RestController @Service @Component @Scheduled @PostConstruct @PreDestroy Конфигурация @Value @Configuration @ConfigurationProperties @EnableConfigurationProperties @ComponentScan @AutoConfigureAfter @AutoConfigureBefore @Conditional @ConditionalOnBean @ConditionalOnClass @ConditionalOnExpression @ConditionalOnMissingBean @ConditionalOnProperty Тесты @SpringBootTest @Test @TestConfiguration @MockBean @SpyBean @ActiveProfiles @AfterAll @AfterEach @Before @BeforeAll @BeforeEach @Import @ImportAutoConfiguration @Disabled @RunWith Конфигурация тестов @AutoConfigureDataJpa @AutoConfigureJson @AutoConfigureTestDatabase @AutoConfigureTestEntityManager @AutoConfigureWebTestClient Кэширование @Cacheable @CacheEvict База данных @Entity @Table @Column @Query @Transactional @Modifying @Transient @Id @IdClass @DynamicUpdate @Embeddable @EmbeddedId @MappedSuperclass @Lob @EnableJpaAuditing @CreatedBy @CreatedDate @LastModifiedBy @LastModifiedDate HTTP @PostMapping @GetMapping @PutMapping @DeleteMapping @PathVariable @RequestBody @RequestHeader @RequestMapping @RequestParam @RequestPart @ResponseBody JSON @JsonFormat @JsonIgnore @JsonInclude @JsonProperty Валидация @Valid @NonNull @NotNull @NotBlank @NotEmpty @Size

Смотрите также