![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
文章平均质量分 77
guozhanhongwqp
这个作者很懒,什么都没留下…
展开
-
JAVA线程演变
作者:多大的 链接:https://www.zhihu.com/question/24322387/answer/142210426 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 1. 背景1.1. Java线程模型的演进1.1.1. 单线程时间回到十几年前,那时主流的CPU都还是单核(除了商用高性能的小机),CPU的核心频率是机器最重要的指标之一。...原创 2017-06-28 10:17:40 · 138 阅读 · 0 评论 -
rest api
[size=large] 要弄清楚什么是RESTful API,首先要弄清楚什么是REST。REST -- REpresentational State Transfer,英语的直译就是“表现层状态转移”。如果看这个概念,估计没几个人能明白是什么意思。那下面就让我来用一句人话解释一下什么是RESTful:URL定位资源,用HTTP动词(GET,POST,PUT,DELETE)描述操作 ...原创 2018-08-07 16:43:05 · 88 阅读 · 0 评论 -
hibernate中一种导致a different object with the same identifier value was already asso
//主键 @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; 备注: 修改ID生成策略为GenerationType.IDENTITY原创 2018-08-26 09:29:56 · 321 阅读 · 0 评论 -
spring 解决跨域
请求出现: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. ...原创 2018-08-29 11:37:15 · 103 阅读 · 0 评论