hello-world2016
码龄13年
关注
提问 私信
  • 博客:327,954
    社区:518
    问答:2,737
    331,209
    总访问量
  • 212
    原创
  • 1,460,635
    排名
  • 49
    粉丝
  • 0
    铁粉

个人简介:热爱Linux和开源, 喜欢编程,看书, 听音乐 和篮球。

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2011-08-09
博客简介:

用文章记录成长

博客描述:
自由,分享,开源
查看详细资料
个人成就
  • 获得66次点赞
  • 内容获得47次评论
  • 获得213次收藏
创作历程
  • 1篇
    2014年
  • 17篇
    2013年
  • 126篇
    2012年
  • 81篇
    2011年
成就勋章
TA的专栏
  • 网页制作
    3篇
  • Linux学习
    57篇
  • java学习
    51篇
  • javascript学习
    10篇
  • 个人日志
    1篇
  • JavaEE学习
    46篇
  • MySQL
    2篇
  • C++学习
    39篇
  • PostgreSQL学习
    4篇
  • Maven3学习笔记
    4篇
  • Anroid学习
    17篇
  • C语言学习
    34篇
  • Linux编程
    47篇
  • 网络学习
    2篇
  • 汇编学习
    23篇
  • GentooStudy
    4篇
  • Mybatis学习
    1篇
  • Spring学习
    1篇
  • Linux运维
    3篇
创作活动更多

HarmonyOS开发者社区有奖征文来啦!

用文字记录下您与HarmonyOS的故事。参与活动,还有机会赢奖,快来加入我们吧!

0人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

java开发web怎么把每个功能模块化?

答:

这两天刚好查到资料: http://amdatu.bitbucket.org/ 这个基于OSGi的 WEB 框架, 真心不错. 我自己个人,也做了个Demo, 易用, 而且是真正的模块化的
路由方面, 在开发过程中, 做到真正的热加载(包括新添加类, 添加方法, 修改参数等), 实现方面真正做到易切换(在控制台 stop id, start id 即可) 可以热替换
不同的接口实现. 虽然知道路漫漫, 但这种思想, 非常棒. 动态加载和御载路由(即平时说的Controller)

回答问题 2015.09.09

博客说明

经过一番努力,搭建好了自己的博客地址:程序猿笔记 ,因为CSDN没有自己想要的功能,所以只好自己做一个了,所以自己的博客也随之转换到自己博客了。
原创
发布博客 2014.03.25 ·
992 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

<script>

测试一下脚本标签能不能显示出来。
原创
发布博客 2013.07.22 ·
1150 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Linux MTR命令

mtr -h 提供帮助命令mtr -v 显示mtr的版本信息mtr -r 已报告模式显示[root@10.10.90.97 ~]# mtr -r 202.108.33.94FOCUS9097 Snt: 10 Loss% Last Avg Best Wrst StDev220.181.61.252
转载
发布博客 2013.03.19 ·
5202 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

rsync+inotify 配置实时同步服务器

1.安装inofity-tools工具及rsync在服务器上(注意是服务器,即被备份的系统上),安装rsync在客户端上(即备份系统上,存储服务器的备份文件)2.在客户端上配置:/etc/rsyncd.conf文件,内容如下:uid = nobodygid = nobodyuse chroot = nomax connections = 10strict modes = yesp
原创
发布博客 2013.03.08 ·
1437 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

架设rsync服务器

1.服务器端,设置(或添加)文件:/etc/rsyncd.conf,内容如下:uid = nobodygid = nobodyuse chroot = nomax connections = 10strict modes = yespid file = /var/run/rsyncd.pidlock file = /var/run/rsync.locklog fil
原创
发布博客 2013.03.08 ·
1105 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

源码安装Nginx

1.下载好源码:http://nginx.org/en/download.html2.安装相应的编译环境:gcc, openssl-devl, pcre-devel和zlib-devel3.配置:./configure --prefix=/opt/nginx1.2 --with-http_stub_status_module 3.make4.sudo make install
原创
发布博客 2013.03.07 ·
1089 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PostgreSQL中删除重复行(保留一行)

delete from table_name as ta where ta.唯一键
原创
发布博客 2013.03.03 ·
10319 阅读 ·
9 点赞 ·
11 评论 ·
27 收藏

ubuntu12.04下源码安装PostgreSQL9.2.3

1.下载源码包: http://ftp.postgresql.org/pub/source/v9.2.3/postgresql-9.2.3.tar.bz22.安装依赖:apt-get install build-essensial gcc make libreadline6 libreadline6-dev (提醒缺少什么就安装什么)3.开始编译:    (1)解压源码包到 /home
原创
发布博客 2013.03.02 ·
975 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Java注意点

1.通过子类引用父类的静态字段,不会导致子类初始化。2.通过数组定义来引用类,不会触发此类的初始化。3.常量在编译阶段会存入调用类的常量池中,本质上没有直接引用到定义常量的类,因此不会触发定义常量的类的初始化。
原创
发布博客 2013.02.25 ·
732 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

HTTP状态码大全

完整的 HTTP 1.1规范说明书来自于RFC 2616,你可以在http://www.talentdigger.cn/home/link.php?url=d3d3LnJmYy1lZGl0b3Iub3JnLw%3D%3D在线查阅。HTTP 1.1的状态码被标记为新特性,因为许多浏览器只支持 HTTP 1.0。你应只把状态码发送给支持 HTTP 1.1的客户端,支持协议版本可以通过调用reque
转载
发布博客 2013.02.21 ·
846 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Linux下的Socket基础编程(2)

#include #include #include # include #include #include #include #include #include #define BIND_PORT 9999#define BUFFSZ 4096int main(int argc, char * argv[]){ //extern int socket (int __
原创
发布博客 2013.02.10 ·
943 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Linux下消息队列小例子

发送方:#include #include #include #include #include #include #include struct msg{ long msg_types; char msg_buf[511];};int main(void){ int qid; int pid; int len; struct msg pmsg; pm
原创
发布博客 2013.02.10 ·
901 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

ubuntu下开始自动挂载硬盘分区

# /etc/fstab: static file system information.## Use 'blkid -o value -s UUID' to print the universally unique identifier# for a device; this may be used with UUID= as a more robust way to name# dev
原创
发布博客 2013.02.05 ·
981 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C统计1-49的数字出现的次数

/* * main.c * * Created on: Jan 23, 2013 * Author: linux 杨志永 * QQ : 929168233 * Email : ljy520zhiyong@163.com * */#include #include #include #include //数组的长度(一共49个数字
原创
发布博客 2013.02.04 ·
6686 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

ubuntu10.04下驱动编程hello world

1.驱动源码:#include #include MODULE_LICENSE("Dual BSD/GPL");static int hello_init(void){ printk(KERN_ALERT "Hello, world
"); return 0;}static void hello_exit(void){ pri
原创
发布博客 2013.02.01 ·
937 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

mavn与tomcat集成

yangzhiyong org.codehaus.cargo cargo-maven2-plugin 1.3.2 tomcat7x /opt/apache-tomcat-7.0.34 existing /opt/apache-tomcat-7.0.34
原创
发布博客 2013.01.29 ·
944 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ubuntu下交叉编译windows程序

安装mingw。编译程序:i586-mingw32msvc-gcc它的行为和GCC非常类似。
原创
发布博客 2013.01.24 ·
2715 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Java过滤HTML标签

public static String delHTMLTag( String htmlStr ) { String regEx_script = "]*?>[\\s\\S]*?"; // 定义script的正则表达式 String regEx_style = "]*?>[\\s\\S]*?"; // 定义style的正则表达式 String
转载
发布博客 2013.01.04 ·
1141 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Chrome报JS警告

Resource interpreted as script but transferred with MIME type text/html.解决办法:打开注册表:将text/plain,改为:text/javascript就可以了。
原创
发布博客 2012.12.13 ·
2989 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多