LiuDongdong

爱好由来落笔难,一诗千改心始安。

SpringJDBC

dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> application.yml spring: datasource: url: jdbc:mysql://127.0.0.1:3306/spring-boot-demo?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=GMT%2B8 username: root password: 1234qwer driver-class-name: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource initialization-mode: always continue-on-error: true schema: - "classpath:db/schema.sql" data: - "classpath:db/data.sql" hikari: minimum-idle: 5 connection-test-query: SELECT 1 FROM DUAL maximum-pool-size: 20 auto-commit: true idle-timeout: 30000 pool-name: SpringBootDemoHikariCP max-lifetime: 60000 connection-timeout: 30000 UserService.java package com.ldd.service; import com.ldd.domain.User; import javax.sql.DataSource; import java.util.List; public interface UserService { /*Use

Tools

1. mysql .1. cmd 配置使用 MySQL Community Server 社区版本,开源免费,但不提供官方技术支持。 MySQL Enterprise Edition 企业版本,需付费,可以试用30天。 MySQL Cluster 集群版,开源免费。可将几个MyS

WSGI_Learning

WSGI有两方:“服务器”或“网关”一方,以及“应用程序”或“应用框架”一方。服务方调用应用方,提供环境信息,以及一个回调函数(提供给应用程

IndustryMachine

Accommodation & Food Food RobotChef - Refining recipes based on user reviews. Food Amenities - Predicting the demand for food amenities using neural networks Recipe Cuisine and Rating - Predict the rating and type of cuisine from a list of ingredients. Food Classification - Classification using Keras. Image to Recipe - Translate an image to a recipe using deep learning. Calorie Estimation - Estimate calories from photos of food. Fine Food Reviews - Sentiment analysis on Amazon Fine Food Reviews.

OpenFeign

Feign is a Java to HTTP client binder inspired by Retrofit, JAXRS-2.0, and WebSocket. Feign’s first goal was reducing the complexity of binding Denominator uniformly to HTTP APIs regardless of ReSTfulness. 使用 OpenFeign 的 Spring 应用架构一般分为三个部分,分别为服务注中心、服务提供者和服务消费者。
0%