2017年8月11日

JAVA开发 - Spring MVC学习

摘要: Spring MVC 事实上就是一种java实现的web mvc设计模式的请求驱动类型的轻量级Web框架,就是用了MVC的架构模式思想。把Web层解耦,这样基于请求驱动指的就是请求-响应模型。 前端控制器是DispatcherServlet, 应用控制事实上是两部分:处理器映射器(Handler M 阅读全文

posted @ 2017-08-11 16:24 wgwyanfs 阅读(105) 评论(0) 推荐(0) 编辑

The Single Responsibility Principle

摘要: The Single Responsibility Principle Robert C. Martin (Uncle Bob) ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those thin 阅读全文

posted @ 2017-08-11 13:46 wgwyanfs 阅读(93) 评论(0) 推荐(0) 编辑

MSComDlg.CommonDialogserver不能创建对象错误的解决

摘要: 作者:朱金灿来源:http://blog.csdn.net/clever101 在JavaScript中弹出打开文件对话框,代码例如以下:var fileOpenDlg = new ActiveXObject("MSComDlg.CommonDialog"); 结果出现错误:解决的方法是: 假如是W 阅读全文

posted @ 2017-08-11 12:44 wgwyanfs 阅读(190) 评论(0) 推荐(0) 编辑

Hadoop的HA机制(Zookeeper集群+Hadoop集群)配置记录

摘要: 博主:hadoop_version=2.4.1 java_version=1.7 zooKeeper_version=3.4.5 Linux =CentOs 6.5 1.首先说明HA是什么? HA意为High Available。高可用性集群,是保证业务连续性的有效解决方式,一般有两个或两个以上的节 阅读全文

posted @ 2017-08-11 11:58 wgwyanfs 阅读(376) 评论(0) 推荐(0) 编辑

linux怎样查看port被谁占用

摘要: 使用 netstat 进行查看! >netstat -noap | grep 80 | grep tcp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 74160 138880 127.0.0 阅读全文

posted @ 2017-08-11 10:39 wgwyanfs 阅读(146) 评论(0) 推荐(0) 编辑

hadoop配置说明

摘要: core-site.xml name value Description fs.default.name hdfs://hadoopmaster:9000 定义HadoopMaster的URI和port fs.checkpoint.dir /opt/data/hadoop1/hdfs/namesec 阅读全文

posted @ 2017-08-11 10:08 wgwyanfs 阅读(213) 评论(0) 推荐(0) 编辑

C#中的继承与多态还有接口

摘要: 简单继承最简单的三个类public class Animal { public Animal() { Debug.Log("Construct Animal!"); } }public class Mammal : Animal { public Mammal() { Debug.Log("Cons 阅读全文

posted @ 2017-08-11 08:17 wgwyanfs 阅读(243) 评论(0) 推荐(0) 编辑

导航