- 项目基于 Hessian 框架来构建分布式服务,前端基于 Thymeleaf 模板技术以取代JSP,并采用了 Bootstrap 框架,后端采用了 SpringMVC、Spring、MyBatis、Shiro、Redis 、Activiti 等技术;
- 项目已实现了权限管理、工作流管理等部分功能;
- 项目实现了通用的服务端参数合法性校验功能。
public interface UserService {
String BEAN_NAME = "userService";
int add(@NotNull @Validated({Groups.Add.class}) User user);
int add(@Size(min = 1) @Validated({Groups.Add.class}) Collection<User> users);
int update(@NotNull @Validated({Groups.Update.class}) User user);
int delete(@NotNull Long id);
int delete(@Size(min = 1) Long[] ids);
User getUserById(@NotNull Long id);
}