- 博客(47)
- 资源 (13)
- 收藏
- 关注
原创 Java 反编译 Eclipse plugin
Enhanced Class Decompiler Project Update: https://ecd-plugin.github.io/update/
2018-03-29 10:53:06 2119
原创 Springboot starter web service produce a soap message
参考:https://spring.io/guides/gs/producing-web-service/本文代码已经上传至GitHub:https://github.com/michaelzhanghe/ws-learning-producer.git通过spring-boot-starter-web-services这个工件产生一个soap消息创建Maven工程ws-learning-prod...
2018-03-28 23:10:36 576
原创 Springboot starter web service consume a soap message
参考Spring官方文档:https://spring.io/guides/gs/consuming-web-service/本文代码已上传到Github: https://github.com/michaelzhanghe/ws-learning-consumer.git服务端文章请参考:Springboot starter web service produce a soap messageW...
2018-03-28 19:16:33 594 1
原创 端口被应用程序占用
查看8080端口被进程13904占用:C:\work\tmp>netstat -ano | findstr 8080 TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 13904 TCP 192.168.3.3:55898 223.167.104.150:8080 ESTABLIS...
2018-03-28 15:44:18 919
原创 kubectl version 错误 The connection to the server localhost:8080 was refused
michael01s-Mac:ibmcloud michael01$ kubectl versionClient Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", Bu...
2018-03-23 23:57:23 8521 2
原创 bx login bx cs init 错误 -- 域名解析问题
今天在VMWare上新安装的Mac OS 10.13,登录IBM Cloud Bluemix时遇到这样的错误:bogon:~ michael01$ bx login -a api.ng.bluemix.net -u 用户名 -p 密码 -s 资源组 --apikey APIKEY的值API endpoint: api.ng.bluemix.netAuthenticating...OK ...
2018-03-23 22:49:15 777
转载 Bluemix 上创建、部署Kubenetes 容器与集群
https://console.bluemix.net/containers-kubernetes/clusters/ca9c9ddad7c64b14b44d1d7fc6414cf3/access?region=ibm:yp:us-south
2018-03-22 22:34:24 395
原创 IBM Cloud
save apiKey.json to C:\work\IBM Cloudinstall IBM Container CLI for Mac OS:https://console.bluemix.net/docs/cli/reference/bluemix_cli/all_versions.html#bluemix-cli-installer-all-versions?cm_mmc=IBMBlue...
2018-03-22 18:11:35 2418
原创 技术术语-缩略语
CI/CD: continuous integration and continuous delivery 持续集成和持续交付CF:Cloud Foundrydivide-and-conquer:分治策略Divide and Conquerdiscrete network-connected components:离散的网络连接组件evolution:演变、进化in contrast: 通过对照、...
2018-03-19 23:02:29 742
原创 微服务 Cloud Foundery
参考:Cloud Foundry 组件 , 什么是Cloud Foundry,该如何入门大多数基于Cloud Foundry的微服务都是......用Java编写...使用Netflix OSS微服务框架...使用Spring Cloud meta-framework构建的许多其他微服务都是使用非Java语言构建的•Go和Python非常适合数据用例(streaming, ingestion)No...
2018-03-19 23:00:24 526
原创 微服务的集成
微服务互通•轻量级协议§REST如JSON或HTTP§消息,如Kafka•目标完整解耦,达到这些方法:§消息传送到任何地方可能§服务注册或发现§ 负载均衡§断路器模式服务之间的通信•服务之间的沟通应该与语言无关§服务可以用不同的语言编写§Cloud Foundry目前仅支持inbound HTTP•通常是REST同步协议§JSON§HTTP•对于异步协议§消息系统,通常是AMQP或Kafka例子:...
2018-03-19 22:50:21 510
原创 重构微服务
逐步分离服务(根据需要)•应用敏捷开发:哪些最简单的事情是可能有用的?•从单体或双层结构开始§使其成为模块化,并计划模块可以成为微服务§每个模块应该是一个垂直切片,一个带有自己数据的小应用程序•从最小的可行的产品开始(MVP)§MVP是一个模块§对现有功能的改进放在同一个模块中§在新模块中实施新的功能任务§当一个模块实现多个任务时,重构为单独的模块•根据需要将模块分成微服务§多个团队希望独立工作§...
2018-03-19 22:34:21 466
原创 收藏的文章--定期更新
J2EE的体系架构——J2EEJ2EE—JTA的认识和@TransactionalEJB有状态的会话Bean和无状态的会话Bean的区别设计模式-生产者消费者模式设计模式-观察者模式设计模式-工厂模式Servlet运行原理以及生命周期JSP与Servlet的区别IBM Cloud 文档IBM Cloud Container Service:Tutorial: Creating clusters:h...
2018-03-19 13:57:25 206
翻译 微服务架构概述 An Overview of Micro services Architecture by Khoa Dinh
对微服务架构未来趋势的介绍。 在这篇文章中,我们将讨论微服务如何工作,有什么好处,以及在实施时应该注意什么。什么是微服务架构?将软件应用程序设计为可独立部署的服务套件的一种特殊方式- 马丁福勒微服务架构是近年来流行的一个新词汇,但其背后的想法并不新鲜。事实上,它与几年前非常流行的SOA模式类似。微服务和SOA都是将应用程序分解为更小的服务,以便更高效地扩展和管理应用程序生命周期。尽管如此,正如Ma...
2018-03-19 00:15:34 307
原创 微服务架构
微服务关注点微服务处理服务系统是通过网络进行通信的•微服务的重点是将潜在的单一应用程序分解为更小,更多可管理的组件§以更加灵活和解耦为目标,实现更快的整体部署§必要条件:DevOps,管理视图和控制“微服务”术语导致的常见误解:微服务是更细粒度的Web Service API“微”指的是组件的粒度,而不是暴露界面的粒度“微服务架构”真的是“微架构”吗?传统的单系统应用架构中,说有的服务和API都是...
2018-03-18 23:38:25 167
原创 微服务介绍
通常一个应用程序体系结构使用自身优势和具有挑战的标准化云环境,其中包括这些概念:•弹性缩放•不可变的部署•一次性实例•不太可预测的基础设施云本地定义•清除与底层操作系统的耦合,以确保最大的可移植性•弹性缩放,而不会对工具,体系结构或开发实践进行重大更改•能够对基础设施和应用程序中不可避免的故障进行恢复•提供可配置的技术和商业洞察力•利用云服务来处理这些任务,例如:§存储§排队§缓存•快速和可重复的...
2018-03-18 21:36:51 159
原创 Spring Cloud 官方文档
Spring Cloud 官方文档: https://cloud.spring.io/spring-cloud-static/spring-cloud.htmlSpring Cloud在多网卡时的选择:package org.springframework.cloud.commons.util;public class InetUtils implements Closeable { public...
2018-03-16 23:00:16 1995
转载 tmux简单使用
原文: https://www.sitepoint.com/tmux-a-simple-start/Sometime in the last year or so, I started using another development transformer: Tmux . What is tmux? According to its site:tmux is a terminal multip...
2018-03-15 16:59:38 589
原创 安装tmux工具 linux terminal client tool - similar to SSH secure client
参考: How to install TMUX on Linux? (with and without root access)官网:https://github.com/tmux/tmux/wiki依赖:libevent 官网: http://libevent.org/ 依赖:ncurses官网: http://invisible-island.net/ncurses/#download_ncu...
2018-03-15 16:29:15 231
原创 error while loading shared libraries: so: cannot open shared object file: No such file or directory
利用LD_DEBUG=libs解决找不到文件的问题,通常情况都是在系统路径下没有对应的文件,那么这个命令就能够发现缺少的文件,并且能看到查找的路径[root@localhost tmux-2.6]# tmux -Vtmux: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file...
2018-03-15 16:27:05 930
原创 Spring data redis cluster 集群
Redis sentinel 官网: https://redis.io/topics/sentinel参考:http://blog.csdn.net/fengyong7723131/article/details/52983555http://blog.csdn.net/fengyong7723131/article/details/52995592
2018-03-14 23:19:26 289
转载 主板BIOS设置来电开机
来电开机等主板BIOS设置一、来电自动开机一般计算机在市电停电再来电后主机不会自动开启,你需要按一下POWER键重新开机,而服务器一般都能在市电断开再来电的时候自动加电开机,这一功能是怎么实现的呢?其实很简单,你家的计算机也有这样的功能,只需进入BIOS进行设置即可。开机按“DEL”键,进入主板的BIOS,选择“PowerManagementSetup(电源管理设置)”,其中有一个选项为“Pwro...
2018-03-14 20:22:16 44580
原创 通过外网远程访问Window Remote Desktop 远程桌面 Win10
开启远程服务:设置为自动启动修改远程桌面的服务端口:1: Run - Regedit;2:找到 HKEY_LOCAL_MACHINE/ SYSTEM/ CurrentControlSet/ Control/ Terminal Server/ Wds/ rdpwd/ Tds/ tcp/ PortNumber子键, 默认为3389, 修改成想要的值,比如1234; 3:找到 HKEY_LOCAL_MA...
2018-03-14 15:50:22 120408 10
转载 JOLT的配置与编程简介
原文地址: http://blog.csdn.net/brucelee0224/article/details/1594099JOLT的配置与编程简介 开发建立一个 JOLT 客户端访问 BEA Tuxedo 的应用服务的主要的步骤,可以描述以下的过程(参见下图) 1、 确认已经安装 BEA Jolt 系统2、 首先要建立或已经存在一个BEA Tuxedo 系统的一个应用服务3、 利用Bulk ...
2018-03-13 16:53:54 965
原创 ORACLE的impdp和expdp命令
在Oracle server所在的Win10上创建目录:c:\oracle\dumpfiles用system用户登录sqlpluscreate or replace directory dumpfiles as c:\oracle\dumpfiles
2018-03-12 23:59:33 184
原创 Linux CentOS6下安装Ruby和RubyGems和OpenSSL和Zlib-devel 为了Redis 集群
安装Ruby:到Ruby官网:https://www.ruby-lang.org/en/downloads/找到最新版本的Ruby进入linux,选择一个位置存放安装包,我的位置是/opt/soft[root@localhost soft]# pwd/opt/soft输入命令wget + 刚刚复制的安装包URL[root@localhost soft]# wget https://cache.ru...
2018-03-12 21:44:19 2933
翻译 spring-boot-starter-data-redis 翻译官方文档 8.7 - 8.10
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html8.7. Persisting Partial Updates在某些情况下,不需要加载和重写整个实体,只需在其中设置一个新值即可。 ...
2018-03-12 11:42:43 749
原创 Linux防火墙和端口的关闭与开启
CentOS 是通过iptables来管理防护墙的对于防火墙的开启与关闭命令在网络上随处可见,我就简单的理一下,本文主要介绍开启和关闭端口重启后生效开启: chkconfig iptables on 关闭: chkconfig iptables off 即时生效,重启后失效开启: service iptables start关闭: service iptables stop$ sudo firew...
2018-03-11 23:44:07 1355
原创 【详解】Redis远程访问时遇到的错误 (error) DENIED Redis is running in protected mode
本文主要介绍的是在默认安装完Redis后,不进行任何配置的情况下直接远程连接redis server时遇到问题的解决办法。(error) DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections a
2018-03-10 23:37:50 5720 2
翻译 spring-boot-starter-data-redis 翻译官方文档 8.4 - 8.6
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html8.4. Secondary Indexes二级索引用于启用基于本机Redis结构的查找操作。 值在每次保存时写入相应的索引,并在对...
2018-03-10 00:03:57 1025
翻译 spring-boot-starter-data-redis 翻译官方文档 8.1 - 8.3
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html8. Redis Repositories使用Redis存储库可以在Redis哈希中无缝转换和存储域对象,应用自定义映射策略并利用二...
2018-03-09 18:21:48 309
翻译 spring-boot-starter-data-redis 翻译官方文档 7
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.htmlRedis官方中文文档之Redis集群教程: http://ifeve.com/redis-cluster-tutorial/Red...
2018-03-09 17:40:49 541
翻译 spring-boot-starter-data-redis 翻译官方文档 6.1 - 6.4
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html6. Reactive Redis support本节介绍Redis支持以及如何入门。 你会发现与 imperative Redis...
2018-03-09 15:13:00 1418
翻译 spring-boot-starter-data-redis 翻译官方文档 5.10 - 5.13
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html5.10. Redis TransactionsRedis通过multi,exec和discard命令提供对事务的支持。 这些操作在...
2018-03-09 14:38:22 1099
翻译 spring-boot-starter-data-redis 翻译官方文档 5.7 - 5.9
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.htmlMDP:(Message Driven POJO)消息驱动POJO5.7. Serializers从框架的角度来看,存储在Redis...
2018-03-09 11:00:00 914
翻译 spring-boot-starter-data-redis 翻译官方文档 5.3 - 5.6
参考文档: https://docs.spring.io/spring-data/redis/docs/2.0.3.RELEASE/reference/html/Redis中文教程: http://www.redis.net.cn/tutorial/3501.html5.3.1. RedisConnection and RedisConnectionFactoryRedisConnection:提...
2018-03-08 17:21:29 2673
原创 打印出所有的Java异常信息栈信息 stacktrace exception message ... 3 more
通常情况下直接发生异常的信息会被打印出来,但是引起异常的关联栈追踪信息stack trace却不会全部输出,通常我们会看到下面这样的异常输出信息:Exception in thread "main" java.lang.RuntimeException: rethrow at hello.TraceExceptionStack.c(TraceExceptionStack.java:28)...
2018-03-08 15:27:50 7752
原创 使用Sprint Tool Suite(STS)提交代码到GitHub
在STS中生public key, 并添加到GitHub Repository中。生成的Public Key:登陆Github,在头像的下拉菜单中选择“Setting”在STS中创建一个工程
2018-03-07 20:13:42 8072 3
spring in action fourth edition 原版英文 pdf
2016-08-18
counterclockwise-0.31.1.STABLE001.001
2014-12-13
counterclockwise-0.31.1.STABLE001.z02
2014-12-13
第二十一章 外币折算
2009-06-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人