---
title: "yunfei wang (@wiselyman) | Hashnode"
description: "yunfei wang (@wiselyman) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@wiselyman"
---

@wiselyman

# yunfei wang

@wiselyman · CN · Joined June 2022

### [用Java 17的Records加速Spring Boot开发](https://wisely.top/java-17-records-spring-boot?utm_source=hashnode&utm_medium=feed)

用Java 17的Records加速Spring Boot开发：作为DTO，作为Spring的Bean，作为Spring Data JPA的Projection

1 min read · [wisely.top](https://wisely.top/java-17-records-spring-boot?utm_source=hashnode&utm_medium=feed)

[Nov 11, 2022](https://hashnode.com/posts/java-17-records-spring-boot/636e1ec0d010f9c80ed45a6f)

### [Spring Boot 2.6新特性：使用Java 17的Record作为配置属性](https://wisely.top/spring-boot-26-java-17-record?utm_source=hashnode&utm_medium=feed)

Spring Boot 2.6新特性：使用Java 17的Record作为配置属性。使用record取代JavaBean作为ConfigurationProperties，代码清晰简洁。

1 min read · [wisely.top](https://wisely.top/spring-boot-26-java-17-record?utm_source=hashnode&utm_medium=feed)

[Nov 3, 2022](https://hashnode.com/posts/spring-boot-26-java-17-record/636390c330e2d5849dd62e9f)

### [使用Gradle全面加速Spring Boot开发](https://wisely.top/use-gradle-accelerate-spring-boot-dev?utm_source=hashnode&utm_medium=feed)

大家都知道Gradle和Maven一样，是一个项目的构建工具。它通过任务来控制开发的进程，这些任务包括：编译、打包、测试、部署和发布等。Gradle诞生于2008年，仅仅比Maven晚4年。Android也采用Gradle作为默认的构建工具。 本文期望通过以下的讲述，帮助你快速轻松的使用Gradle加速您的Spring Boot开发应用。 1、Gradle越来越流行 2012年开始，Spring框架已全部使用Gradle来构建；2020年开始，Spring Boot也全部采用Gradle来构建...

3 min read · [wisely.top](https://wisely.top/use-gradle-accelerate-spring-boot-dev?utm_source=hashnode&utm_medium=feed)

[Oct 31, 2022](https://hashnode.com/posts/use-gradle-accelerate-spring-boot-dev/635f527c5e04651fd7581e81)

### [Spring/Spring Boot下如何动态配置计划任务](https://wisely.top/spring-boot-dynamic-scheduler?utm_source=hashnode&utm_medium=feed)

在Spring/Spring Boot下实现计划任务是很简单的，我们只需通过@EnableScheduling 开启计划任务的支持，然后通过@Scheduled 注解来制定计划任务，这样的实现解决了我们对计划任务的绝大部分需求。 但在很多时候，通过上述方式实现的计划任务是在代码里写死的，我们需要修改计划任务只能通过修改代码的方式实现。很多时候，我们需要从外部来设置计划任务执行的时间和方式。所以在本文中，我们着重讲解一下如何动态地配置计划任务。 和Spring对异步任务的支持一样，通过@Enabl...

2 min read · [wisely.top](https://wisely.top/spring-boot-dynamic-scheduler?utm_source=hashnode&utm_medium=feed)

[Oct 29, 2022](https://hashnode.com/posts/spring-boot-dynamic-scheduler/635cfd8ed1ebf23070185adf)

### [Spring 6/Spring Boot 3新特性：优雅的业务异常处理](https://wisely.top/spring-6-spring-boot-3-business-exception?utm_source=hashnode&utm_medium=feed)

当你使用Spring Boot(Spring MVC)进行RESTful API开发的时候，你会发现HTTP的状态码很多时候不能足够有效的传递错误的信息。 HTTP里有一个RFC 7807规范：https://www.rfc-editor.org/rfc/rfc7807。这个规范里定义了HTTP API的“问题细节”（Problem Details）内容。 该规范定义了一个“问题细节”（Problem Details），用它来携带HTTP错误返回信息，避免自定义新的错误返回格式。我们通常情况下是...

1 min read · [wisely.top](https://wisely.top/spring-6-spring-boot-3-business-exception?utm_source=hashnode&utm_medium=feed)

[Oct 28, 2022](https://hashnode.com/posts/spring-6-spring-boot-3-business-exception/635b2f9406686d748e44e543)
