- 个人开发随笔
葉飞纷飞
.netcorevue
1.NETCORE分布式缓存IDistributedCacheMicrosoft.Extensions.Caching.Distributed.MemoryDistributedCacheMicrosoft.Extensions.Caching.Redis.RedisCacheMicrosoft.Extensions.Caching.SqlServer.SqlServerCacheMicrosof
- 日常随笔: React useEffect中使用异步更新数据方法遇到的问题
月半叫做胖
前端学习常见问题ReactReacthooke异步更新useEffect
开发随笔:reacthooks异步更新的问题1.问题叙述在使用antd/G2图表更新的时候发现:在useEffect中通过异步函数对图表渲染的data进行更新,但是由于第一次更新后,数据是延迟更新的,所以好像数据并没有实时进行更新.2.代码分析定义了一个heatmapDataconst[heatMapData,setHeatMapData]=useState([]);异步更新函数//异步更新函数c
- uwp开发随笔:ContentDialog使用技巧
搬砖的包工头
uwp中,ContentDialog的加入,使我们开发方便了很多。ContentDialog和过去使用的MessageDialog都属于弹出框,但是ContentDialog多了很多新特性,而且在自定义弹框上更加灵活。例如,ContentDialog可以直接在里面添加内容。vardialog=newContentDialog(){Title="提示",Content="你确认要退出该页面吗?",P
- linux开发随笔
维多利加514
Linux专栏ubuntulinux运维
/home/book/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/arm-buildroot-linux-gnueabihf/sysroot/usr/include/如果将网卡比喻为身份证插入的usb网卡代表windows(当然,windows可以有很多网卡),开发板自身有两网卡,有两个身份证,用
- C++ 开发随笔
新车上路宋哈娜
开发随笔c++java开发语言
基础多态“一个接口,多个实现”:通过父类调用子类的成员,实现了接口重用,如父类的指针指向子类的对象编译多态:函数重载函数模版运行多态:派生类对象的地址可以赋值给基类指针。对于通过基类指针调用基类和派生类中都有的同名、同参数表的虚函数的语句,编译时并不确定要执行的是基类还是派生类的虚函数;而当程序运行到该语句时,如果基类指针指向的是一个基类对象,则基类的虚函数被调用,如果基类指针指向的是一个派生类对
- 博客启程随笔
攻克bug的码农
随笔小记程序人生随笔
软件开发随笔从自己接触计算机到现在已历时九年,我是如何走上这条路那就要从高考说起了。高考结束后摆在自己面前的就是填报志愿,翻着厚厚的一本志愿书研究历年来各院校专业的录取分数线,最终以自己预估的分数线勉强选择了计算机科学与技术这个专业。之前一直没有碰过计算机的我阴差阳错选择了一个不感兴趣的专业,只好硬着头皮学完了四年的课程,这期间一直做着如同高中时代的乖乖女,直到大四面临就业问题陷入深思,有的同学选
- Odrive 代码开发随笔(一)
snailaf
odriveodrvie
说明:记录自己阅读源码的笔记。1.目录说明固件位于Firmare下面:Board\V3:板级文件,都是自带或者cube生成的,----drivers:stm32库代码----Inc:cube生成的头文件----Src:cube生成的源文件启动函数在main.c里面----Middlewares:----ST\STM32_USB_Device_Library:USB库----Thired_Party
- Odrive 代码开发随笔(二)
snailaf
odriveodrive
代码版本为0.5.1这一章主要查看odrive的轴控制程序。从上一节最后启动的voidAxis::start_thread()来查看。//@briefStartsrun_state_machine_loopinanewthreadvoidAxis::start_thread(){osThreadDef(thread_def,run_state_machine_loop_wrapper,hw_con
- 微信小程序开发随笔
Lindsay_Jie
基于uniapp的小程序javascripthtml5cssvue.js
一、HbuilderX环境配置及uniapp框架使用去看官网就行,和微信开发者工具同步。HbuilderX使用uniapp框架二、解决控制台报错1.当在小程序项目中设置了sitemap的配置文件(默认为sitemap.json)时,便可在开发者工具控制台上显示当前页面是否被索引的调试信息。官方文档说明:修改project.config.json中的“checkSiteMap”:false2.没解决
- 开发随笔(前端内容)
JianZhen✓
前端vue.jselementuivisualstudior语言-4.2.1学习美食
写在前面,博主是个在北京打拼的码农,从事前端工作5年了,做过十多个大大小小不同类型的项目,最近心血来潮在这儿写点东西,欢迎大家多多指教。对于文章中出现的任何错误请大家批评指出,一定及时修改。有任何想要讨论和学习的问题可联系我:
[email protected]。发布文章的风格因专栏而异,均自成体系,不足之处请大家指正。目录关于日常开发中遇到的那些~~~一、划过显示二维码二、关于打包时候为什么要
- 安卓开发随笔
lxmhuendan
androidvim编辑器
安卓如何查看隐藏类的源码,如PhoneWindow,ViewRootImpl等1.ctrl+N打开页面2.选择选项All,右侧Include勾选选中,然后再查找自己想查找的源码如PhoneWindow,ViewRootImpl就可以查到了vim操作命令1、默认不可编辑2、按i键,进入输入模式,可编辑文本内容3、编辑完成,按esc键,退出输入模式4、按shift+:键,按wq!键,按回车键,完成保存
- excel二次开发c语言,excel C#二次开发随笔(纯新手).
weixin_39620118
excel二次开发c语言
1.首先需要安装VS,然后把需要的模块一起安装.2.新建项目,VSTO外接程序.1.png3.新建好项目之后会生产以下代码usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Xml.Linq;usingExcel=Microsoft.Office.Interop.Exce
- 游戏开发随笔
gyl58365
游戏开发的关键是核心机制时,用创意找到核心机制,用技术增强核心机制,用工程实现核心机制,用商业保障核心机制。比如创新的过程,最难的不是创意的发散,而是收敛。先画小圆再画大圆的工作方式,就能让最关键的困难首先暴露,也能让好的创意冒出水面,这样就能让创新之路走得更有效率。而这其中也有扣人心弦的逆转,《暗黑破坏神Ⅲ》又用发售之后的三年证明,即使是先天不足的游戏,只要投入足够的时间、精力、资金,当然还有诚
- HiveSQL & SparkSQL中常用知识点记录
电光闪烁
开发随笔大数据SparkSQLHiveSQL
目录0.相关文章链接1.hive中多表fulljoin主键重复问题2.Hive中选出最新一个分区中新增和变化的数据3.Hive中使用sort_array函数解决collet_list列表排序混乱问题4.SQL中对小数位数很多的数值转换成文本的时候不使用科学计数法5.HiveSQL&SparkSQL中炸裂函数的使用(列转行)6.HiveSQL&SparkSQL中对时间的转换0.相关文章链接开发随笔文
- Mac App开发随笔
冬冬吧
随手记录......隐藏Dock图标info.plist配置Applicationisagent(UIElement)NSWindow//获取主windowletwindow=NSApplication.shared.windows.first//设置window可以背景拖动window?.isMovableByWindowBackground=true//设置window全屏显示置顶window
- (大数据开发随笔9)Hadoop 3.3.x分布式环境部署——全分布式模式
脑汁
hadoop大数据分布式
索引完全分布式模式守护进程布局集群搭建准备总纲配置文件格式化集群启动集群集群控制命令集群启停进程查看启动日志查看集群常见问题案例演示:WordCount完全分布式模式分布式文件系统中,HDFS相关的守护进程也分布在不同的机器上,如:NameNode守护进程,尽可能单独部署在一台硬件性能较好的机器中其他的每台机器上都会部署一个DataNode进程,一般的硬件环境即可SecondaryNameNode
- (大数据开发随笔6)Hadoop 3.3.x分布式环境部署——本地模式
脑汁
大数据开发hadoop大数据分布式
本地模式材料准备Linux虚拟机-CentOS7hadoop-3.3.1.tar.gzIndexof/hadoop/common(apache.org)jdk-8u321-linux-x64.tar.gzJavaArchive|OracleCentos7虚拟机部署准备材料:VMware17CentOS-7-x86_64-Minimal-2009.isocentos-7-isos-x86_64安装包
- (大数据开发随笔7)Hadoop 3.3.x分布式环境部署——伪分布式模式
脑汁
hadoop大数据分布式
伪分布式模式前戏jdk和hadoop环境变量配置确保防火墙关闭:systemctlstatusfirewalld;返回inactive;关闭命令systemctlstopfirewalld;防止自启动命令systemctldisablefirewalld报错:-bash:/usr/bin/systemctl:Permissiondenied解决:sudochmod-R750/usr/bin/sys
- (大数据开发随笔8)Hadoop 3.3.x分布式环境部署——补充知识
脑汁
大数据分布式hadoop
索引克隆虚拟机SSH免密登录ssh简介免密登录scp命令时间同步克隆虚拟机克隆:注意要分开放置三个虚拟机的位置修改克隆机的ip地址vi/etc/sysconfig/network-scripts/ifcfg-ens33——IPADDR重启网络systemctlrestartnetworkipaddr查看ip地址修改克隆机的主机名hostname主机名2hostnamectlset-hostname
- Echarts开发随笔
周末不敲键盘
一解决echarts使用setOption重新配置时不清除之前的配置项问题描述:如果我们在初始化option之后,然后第一次从接口获取数据渲染结束,然后二次在根据别的条件触发二次请求然后在重新进行渲染,组装series的值,直接使用setOption重新配置,以前的配置项会重复合并,造成显示错误。对应属性notMerge可选。是否不跟之前设置的option进行合并。默认为false。即表示合并。如
- jeecgboot前端开发_JeecgBoot 前端开发随笔
山语经
jeecgboot前端开发
Jeecg-Boot技术文档v2.0:https://www.bookstack.cn/read/jeecg-boot-2.0/custom-component.md(一些现成的组件很实用,常见的用法里面都有详细介绍)【修改页面的一些默认文字,logo等】1.loading文字(正在加载Jeecg-Boot快速开发平台,请耐心等待)位置:public-index.html另外,服务器地址也是在改页
- 安卓开发随笔
龙谈胡学
安卓随笔安卓
今天学到了一些关于intent属性1.ActionAction属性代表系统要执行的动作系统提供如下常用的Action属性*ACTION_MAIN:应用程序入口点*ACTION_VIEW:显示指定数据*ACTION_EDIT:编辑指定数据*ACTION_DIAL:显示拨打电话界面*ACTION_CALL:向指定用户打电话*ACTION_SENDTO:向指定用户发送信息*ACTION_GET_CONT
- 如何提高码农产量,基于java的web快速开发平台之自定义表单开发随笔
香飘飘奶搽
老板:下班前一定写完?程序猿:可以,下班前能一定给!第二天早上上班~~~老板:这都第二天了,怎么没写完?程序猿:我还没有下班呢!哎!程序猿的痛啊公司上线的项目有不少销售记录表,又是报价单,又是仓储表,还有什么请假单之类的。一开始,还觉得不就一些表单吗,有什么难的。结果,实际进行起来,才发现,字段什么的是不难,难的是整体的架构啊!每张表的架构都不一样,又不能套用,每个控件的布局啊,表格的宽度和高度,
- iOS开发随笔
杨柳小易
一些架构小想法。熊猫直播iPad端有很多固定的侧边栏,比如刚进入直播间那个UISplitViewControlleriPad.jpeg分为左右两个,左边是首页、娱乐、订阅、比赛、个人中心、聊天、搜索、设置tab.这几页固定写死的。现在的做法的是这样,首先一个UISplitViewController的子类,然后有个类似leftController和rightController的东东。leftCo
- 开发随笔
Hello_DH
1、mysql数据库的最大链接是300到700。机械硬盘是300,固态硬盘是700。2、缓存穿透是指黑客利用在缓存中不存在的key穿透过缓存直接访问数据库,这样并发的访问数据库导致数据库挂掉。用布隆过滤器进行过滤。3、缓存雪崩,因为缓存失效导致数据未加载到缓存中,或者缓存同一时间大面积的失效,从而导致所有请求都查数据库,导致数据库cpu和内存负载过高,甚至宕机。第一种是由于缓存大面积同时失效导致,
- 基于弹性云服务器的昇腾AI应用开发随笔【与云原生的故事】
Tianyi Li 1997
华为云人工智能
什么是弹性云服务器?先来说说云服务器(ElasticCloudServer),云服务器是具有完整硬件、操作系统、网络功能,并且运行在一个完全隔离环境中的计算机系统。云服务器具有弹性、按需获取的特点。简单来说,就是能够弹性获得资源的云服务器。而我选择使用的是华为云提供的弹性云服务器,规格如下图所示,是用来做基于Ascend310的应用开发的,得益于云服务的方便和快捷,我通过接收官方共享的镜像,可以快
- WPF开发随笔收录-WriteableBitmap绘制高性能曲线图
流浪g
一、前言之前分享过一期关于DrawingVisual来绘制高性能曲线的博客,今天再分享一篇通过另一种方式来绘制高性能曲线的方法,也就是通过WriteableBitmap的方式;具体的一些细节这里就不啰嗦了,同样是局部绘制的思想,滚动条拖动到哪里,就只绘制那一部分的曲线,直接贴代码;二、正文1、
- WPF开发随笔收录-心电图曲线绘制
流浪g
一、前言项目中之前涉及到胎儿心率图曲线的绘制,最近项目中还需要添加心电曲线和血样曲线的绘制功能。今天就来分享一下心电曲线的绘制方式;二、正文1、胎儿心率曲线的绘制是通过DrawingVisual来实现的,这里的心电曲线我也是采用差不多相同的方式来实现的,只是两者曲线的数据有所区别。心电图的数据
- flutter 开发随笔
nero_i
TextField回车换行控制//键盘确认键样式textInputAction:TextInputAction.search,//实现该方法,阻止onSubmitted键盘回落onEditingComplete:(){//自定义回车换行,flutter没有找到换行方式String_temp=_controller.text+'\n';_controller.text=_temp;///控制光标在最
- iOS开发随笔(Xcode11+iOS13兼容)
_涼城
苹果要求6.30日前商店App需升级到iOS13sdk,百度了一下相关资料,并且做了一下升级,发现Xcode11api文档做了许多改动,估计底层实现变更了。现在记录如下:UISegmentedControl默认样式改变(UI有要求,务必优化)。iOS13以上对于通用的仅颜色UI的变更,可以通过创建子类来做覆盖,设置一个自定义tintColor替代。可以通过下面这三个方法设置纯色图片来还原之前的样式
- Maven
Array_06
eclipsejdkmaven
Maven
Maven是基于项目对象模型(POM), 信息来管理项目的构建,报告和文档的软件项目管理工具。
Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,所以常常用两三行 Maven 构建脚本就可以构建简单的项目。由于 Maven 的面向项目的方法,许多 Apache Jakarta 项目发文时使用 Maven,而且公司
- ibatis的queyrForList和queryForMap区别
bijian1013
javaibatis
一.说明
iBatis的返回值参数类型也有种:resultMap与resultClass,这两种类型的选择可以用两句话说明之:
1.当结果集列名和类的属性名完全相对应的时候,则可直接用resultClass直接指定查询结果类
- LeetCode[位运算] - #191 计算汉明权重
Cwind
java位运算LeetCodeAlgorithm题解
原题链接:#191 Number of 1 Bits
要求:
写一个函数,以一个无符号整数为参数,返回其汉明权重。例如,‘11’的二进制表示为'00000000000000000000000000001011', 故函数应当返回3。
汉明权重:指一个字符串中非零字符的个数;对于二进制串,即其中‘1’的个数。
难度:简单
分析:
将十进制参数转换为二进制,然后计算其中1的个数即可。
“
- 浅谈java类与对象
15700786134
java
java是一门面向对象的编程语言,类与对象是其最基本的概念。所谓对象,就是一个个具体的物体,一个人,一台电脑,都是对象。而类,就是对象的一种抽象,是多个对象具有的共性的一种集合,其中包含了属性与方法,就是属于该类的对象所具有的共性。当一个类创建了对象,这个对象就拥有了该类全部的属性,方法。相比于结构化的编程思路,面向对象更适用于人的思维
- linux下双网卡同一个IP
被触发
linux
转自:
http://q2482696735.blog.163.com/blog/static/250606077201569029441/
由于需要一台机器有两个网卡,开始时设置在同一个网段的IP,发现数据总是从一个网卡发出,而另一个网卡上没有数据流动。网上找了下,发现相同的问题不少:
一、
关于双网卡设置同一网段IP然后连接交换机的时候出现的奇怪现象。当时没有怎么思考、以为是生成树
- 安卓按主页键隐藏程序之后无法再次打开
肆无忌惮_
安卓
遇到一个奇怪的问题,当SplashActivity跳转到MainActivity之后,按主页键,再去打开程序,程序没法再打开(闪一下),结束任务再开也是这样,只能卸载了再重装。而且每次在Log里都打印了这句话"进入主程序"。后来发现是必须跳转之后再finish掉SplashActivity
本来代码:
// 销毁这个Activity
fin
- 通过cookie保存并读取用户登录信息实例
知了ing
JavaScripthtml
通过cookie的getCookies()方法可获取所有cookie对象的集合;通过getName()方法可以获取指定的名称的cookie;通过getValue()方法获取到cookie对象的值。另外,将一个cookie对象发送到客户端,使用response对象的addCookie()方法。
下面通过cookie保存并读取用户登录信息的例子加深一下理解。
(1)创建index.jsp文件。在改
- JAVA 对象池
矮蛋蛋
javaObjectPool
原文地址:
http://www.blogjava.net/baoyaer/articles/218460.html
Jakarta对象池
☆为什么使用对象池
恰当地使用对象池化技术,可以有效地减少对象生成和初始化时的消耗,提高系统的运行效率。Jakarta Commons Pool组件提供了一整套用于实现对象池化
- ArrayList根据条件+for循环批量删除的方法
alleni123
java
场景如下:
ArrayList<Obj> list
Obj-> createTime, sid.
现在要根据obj的createTime来进行定期清理。(释放内存)
-------------------------
首先想到的方法就是
for(Obj o:list){
if(o.createTime-currentT>xxx){
- 阿里巴巴“耕地宝”大战各种宝
百合不是茶
平台战略
“耕地保”平台是阿里巴巴和安徽农民共同推出的一个 “首个互联网定制私人农场”,“耕地宝”由阿里巴巴投入一亿 ,主要是用来进行农业方面,将农民手中的散地集中起来 不仅加大农民集体在土地上面的话语权,还增加了土地的流通与 利用率,提高了土地的产量,有利于大规模的产业化的高科技农业的 发展,阿里在农业上的探索将会引起新一轮的产业调整,但是集体化之后农民的个体的话语权 将更少,国家应出台相应的法律法规保护
- Spring注入有继承关系的类(1)
bijian1013
javaspring
一个类一个类的注入
1.AClass类
package com.bijian.spring.test2;
public class AClass {
String a;
String b;
public String getA() {
return a;
}
public void setA(Strin
- 30岁转型期你能否成为成功人士
bijian1013
成功
很多人由于年轻时走了弯路,到了30岁一事无成,这样的例子大有人在。但同样也有一些人,整个职业生涯都发展得很优秀,到了30岁已经成为职场的精英阶层。由于做猎头的原因,我们接触很多30岁左右的经理人,发现他们在职业发展道路上往往有很多致命的问题。在30岁之前,他们的职业生涯表现很优秀,但从30岁到40岁这一段,很多人
- [Velocity三]基于Servlet+Velocity的web应用
bit1129
velocity
什么是VelocityViewServlet
使用org.apache.velocity.tools.view.VelocityViewServlet可以将Velocity集成到基于Servlet的web应用中,以Servlet+Velocity的方式实现web应用
Servlet + Velocity的一般步骤
1.自定义Servlet,实现VelocityViewServl
- 【Kafka十二】关于Kafka是一个Commit Log Service
bit1129
service
Kafka is a distributed, partitioned, replicated commit log service.这里的commit log如何理解?
A message is considered "committed" when all in sync replicas for that partition have applied i
- NGINX + LUA实现复杂的控制
ronin47
lua nginx 控制
安装lua_nginx_module 模块
lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenResty
Centos和debian的安装就简单了。。
这里说下freebsd的安装:
fetch http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxvf lua-5.1.4.tar.gz
cd lua-5.1.4
ma
- java-14.输入一个已经按升序排序过的数组和一个数字, 在数组中查找两个数,使得它们的和正好是输入的那个数字
bylijinnan
java
public class TwoElementEqualSum {
/**
* 第 14 题:
题目:输入一个已经按升序排序过的数组和一个数字,
在数组中查找两个数,使得它们的和正好是输入的那个数字。
要求时间复杂度是 O(n) 。如果有多对数字的和等于输入的数字,输出任意一对即可。
例如输入数组 1 、 2 、 4 、 7 、 11 、 15 和数字 15 。由于
- Netty源码学习-HttpChunkAggregator-HttpRequestEncoder-HttpResponseDecoder
bylijinnan
javanetty
今天看Netty如何实现一个Http Server
org.jboss.netty.example.http.file.HttpStaticFileServerPipelineFactory:
pipeline.addLast("decoder", new HttpRequestDecoder());
pipeline.addLast(&quo
- java敏感词过虑-基于多叉树原理
cngolon
违禁词过虑替换违禁词敏感词过虑多叉树
基于多叉树的敏感词、关键词过滤的工具包,用于java中的敏感词过滤
1、工具包自带敏感词词库,第一次调用时读入词库,故第一次调用时间可能较长,在类加载后普通pc机上html过滤5000字在80毫秒左右,纯文本35毫秒左右。
2、如需自定义词库,将jar包考入WEB-INF工程的lib目录,在WEB-INF/classes目录下建一个
utf-8的words.dict文本文件,
- 多线程知识
cuishikuan
多线程
T1,T2,T3三个线程工作顺序,按照T1,T2,T3依次进行
public class T1 implements Runnable{
@Override
 
- spring整合activemq
dalan_123
java spring jms
整合spring和activemq需要搞清楚如下的东东1、ConnectionFactory分: a、spring管理连接到activemq服务器的管理ConnectionFactory也即是所谓产生到jms服务器的链接 b、真正产生到JMS服务器链接的ConnectionFactory还得
- MySQL时间字段究竟使用INT还是DateTime?
dcj3sjt126com
mysql
环境:Windows XPPHP Version 5.2.9MySQL Server 5.1
第一步、创建一个表date_test(非定长、int时间)
CREATE TABLE `test`.`date_test` (`id` INT NOT NULL AUTO_INCREMENT ,`start_time` INT NOT NULL ,`some_content`
- Parcel: unable to marshal value
dcj3sjt126com
marshal
在两个activity直接传递List<xxInfo>时,出现Parcel: unable to marshal value异常。 在MainActivity页面(MainActivity页面向NextActivity页面传递一个List<xxInfo>): Intent intent = new Intent(this, Next
- linux进程的查看上(ps)
eksliang
linux pslinux ps -llinux ps aux
ps:将某个时间点的进程运行情况选取下来
转载请出自出处:http://eksliang.iteye.com/admin/blogs/2119469
http://eksliang.iteye.com
ps 这个命令的man page 不是很好查阅,因为很多不同的Unix都使用这儿ps来查阅进程的状态,为了要符合不同版本的需求,所以这个
- 为什么第三方应用能早于System的app启动
gqdy365
System
Android应用的启动顺序网上有一大堆资料可以查阅了,这里就不细述了,这里不阐述ROM启动还有bootloader,软件启动的大致流程应该是启动kernel -> 运行servicemanager 把一些native的服务用命令启动起来(包括wifi, power, rild, surfaceflinger, mediaserver等等)-> 启动Dalivk中的第一个进程Zygot
- App Framework发送JSONP请求(3)
hw1287789687
jsonp跨域请求发送jsonpajax请求越狱请求
App Framework 中如何发送JSONP请求呢?
使用jsonp,详情请参考:http://json-p.org/
如何发送Ajax请求呢?
(1)登录
/***
* 会员登录
* @param username
* @param password
*/
var user_login=function(username,password){
// aler
- 发福利,整理了一份关于“资源汇总”的汇总
justjavac
资源
觉得有用的话,可以去github关注:https://github.com/justjavac/awesome-awesomeness-zh_CN 通用
free-programming-books-zh_CN 免费的计算机编程类中文书籍
精彩博客集合 hacke2/hacke2.github.io#2
ResumeSample 程序员简历
- 用 Java 技术创建 RESTful Web 服务
macroli
java编程WebREST
转载:http://www.ibm.com/developerworks/cn/web/wa-jaxrs/
JAX-RS (JSR-311) 【 Java API for RESTful Web Services 】是一种 Java™ API,可使 Java Restful 服务的开发变得迅速而轻松。这个 API 提供了一种基于注释的模型来描述分布式资源。注释被用来提供资源的位
- CentOS6.5-x86_64位下oracle11g的安装详细步骤及注意事项
超声波
oraclelinux
前言:
这两天项目要上线了,由我负责往服务器部署整个项目,因此首先要往服务器安装oracle,服务器本身是CentOS6.5的64位系统,安装的数据库版本是11g,在整个的安装过程中碰到很多的坑,不过最后还是通过各种途径解决并成功装上了。转别写篇博客来记录完整的安装过程以及在整个过程中的注意事项。希望对以后那些刚刚接触的菜鸟们能起到一定的帮助作用。
安装过程中可能遇到的问题(注
- HttpClient 4.3 设置keeplive 和 timeout 的方法
supben
httpclient
ConnectionKeepAliveStrategy kaStrategy = new DefaultConnectionKeepAliveStrategy() {
@Override
public long getKeepAliveDuration(HttpResponse response, HttpContext context) {
long keepAlive
- Spring 4.2新特性-@Import注解的升级
wiselyman
spring 4
3.1 @Import
@Import注解在4.2之前只支持导入配置类
在4.2,@Import注解支持导入普通的java类,并将其声明成一个bean
3.2 示例
演示java类
package com.wisely.spring4_2.imp;
public class DemoService {
public void doSomethin