- Springboot with Swagger
Swagger is an open source project used to generate the REST API documents for RESTful web services. Add swagger and swagger-ui dependencies <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.7.0</version> </dependency> <dependency>…
- Springboot Mapstruct
A Data Transfer Object(DTO) is an object that is used to encapsulate data or domain model, and send it from one subsystem of an application to another. DTOs are most commonly used by the Services layer in an N-Tier application to transfer data between itself and the UI layer.Mapstruct is by far the…
- Springboot Email
You can use Springboot to send out emails. All you need is access SMTP server. You can then use the JavaMailSender interface to send emails out. Add dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> Add email SMTP…
- Springboot JMS
A production JMS server must be a stand alone server. What we have here is for demonstration purposes. Add dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifactId> </dependency> Add configuration class @Configuration @EnableJms public…
- Springboot Cache
An application without cache is typically slow. Even great code will crawl when handling heavy traffic without cache. Caching can be a fast and relatively cheap way to increase performance. Caching is a performance boost strategy you must implement into your application. Caching is nothing more…