自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(34)
  • 资源 (8)
  • 收藏
  • 关注

转载 remove javascript validation from eclipse project

本文转自 http://stackoverflow.com/questions/3131878/how-do-i-remove-javascript-validation-from-my-eclipse-projectRight-click your project.Navigate to: Properties → JavaScript → Include PathSelect Sourc

2016-07-21 17:46:40 465

转载 Eclipse中一个Web项目引用另一个项目中的类

本文引自 - http://www.lssrc.com/archives/993.html今天做了个小实验,把公用的类单独放到一个Project中,在其他项目中引用该Project。均为Web Project。一开始,项目属性Java Build Path中add就可以,编译错误就会消失了。但是在发布启动时,会报java.lang.ClassNotFoundException。经过调试,在发

2016-07-07 15:10:19 3048

原创 Mybatis源码分析(一)

MyBatis Version: 3.3.1 OS: Windows Editor: Eclipse研究方法:下载Mybatis source, 编写测试用例,关联source,然后分析代码流程。Mybatis采用JDK动态代理+反射来实现SQL到Java Object的影射,简化了代码逻辑。 现在用一副时序图展示Mybatis的基本工作流程。 具体的代码架构后续再分析整理。

2016-06-24 18:15:41 508

原创 Tomcat启动过程源码研究

Tomcat Version: 7.0.42.0 OS: Windows Editor: Eclipse下载tomcat source并编译,从startup.bat开始阅读。 这里不贴出具体的代码了,附上一副时序图。 如下图所示,从bat开始直到Http11Protocol开始监听socket为止。 由于重要的对象较多,全部画在图上恐怕不易阅读,所以使用文字描述了。 欢迎共同探讨。

2016-06-24 16:09:52 416

原创 模块化web应用中不同Context的相互调用

摘要:大型的web应用,采用模块化设计可以使得多个team同时开发;每个模块可以完全独立的使用资源(比如,连接到不同的数据库,实现分库分表)。下图示例中,是一个简化的银行柜员系统。其中的四个模块所需要的用户数据不尽相同;比如客户关系模块,可以查看用户信息,账户信息以及用户社会关系等;转账模块就只需要用户权限以及账户信息;用户的账户又有普通储蓄账户和理财账户之分。这些信息都需要不同的权限来访问,此时,

2016-06-12 14:26:18 903

原创 学习网站 - URLs

前端学习网站 http://www.w3schools.com/Android开发工具下载 http://www.androiddevtools.cn/Google Android官网 https://developer.android.com/training/index.htmlhttp://www.java2blog.com/2013/04/restful-web-service-

2016-06-08 14:06:34 418

原创 CXF Webservice nonSpring

不使用Spring的情况下创建CXF Webservice。需要通过继承CXFNonSpringServlet来发布service。

2016-05-31 13:15:10 665

原创 Spring notes

获取spring源码 安装git,参考https://github.com/spring-projects/spring-framework相关说明下载

2016-01-25 21:22:14 368

原创 Java note

为了避免目录名称中空格可能引起的问题,最好不要安装在 ‘Program Files’ 下; 1. Windows 更改了java安装路径后,eclipse无法启动,此时需要修改eclipse的jdk路径 切换到eclipse目录下,eclipse -vm %JAVA_HOME%\bin\javaw.exe

2016-01-22 17:20:45 346

转载 Spring高级事务管理难点剖析

本文转自 http://my.oschina.net/lujianing/blog/305903

2016-01-02 14:48:54 384

转载 servlet中无法直接autowired bean from Spring

本文引自 - http://my.oschina.net/u/937710/blog/115919 如果servlet中需要用到spring中的applicationContext,我们是没法直接通过@Autowired方式获取的,需要用如下方式: @Override public void init() throws ServletException { super

2015-12-10 17:30:30 1154

原创 Ajax - CORS - Cross Origin Resource Sharing

Cross-Origin Request Blocked, Same-origin Policy

2015-12-10 15:03:21 545

原创 POI - generate xls file

Official web site https://poi.apache.org/spreadsheet/index.htmlSample codes with HSSFimport org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.usermodel.HSSFCellStyle;import o

2015-12-08 13:34:39 396

原创 JSF notes

Below are some notes for developing a web application using JSF2. 1- @ManagedBean(name="somename") - annotation to register a normal java POJO into JSF to be managed;2- @SessionScoped - put a bean into

2015-11-19 17:33:12 484

转载 Spring issue checking links

http://jinnianshilongnian.iteye.com/blog/1894465

2015-10-06 15:33:01 408

原创 Java multi-threads to read DB then writting to local disk with Producer & Consumer model

There will be several Producers to access DB and put result into list; only one Consumer will access that list to write into local disk.**重点内容**JDK - 1.5Producerpackage com.mantis.signature.util;impo

2015-07-10 10:05:49 777

原创 Java Network Programming with Callback model

Below codes use threads to merge files with callback model. 1. Merge process : CallbackMain `package org.mantis.test;import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOExcep

2015-07-10 09:47:49 508

原创 JavaScript - implement page lazy loading via mouse scrolling

This is a sample to do page lazy loading while mouse scrolling.One next page button was given for non-scrolling event trigger situation.This is a auto expanding page .reset{ margin: 0 0

2015-06-03 12:06:44 445

原创 JavaScript OOP

There are several ways to implement OOP and inheritance.I checked a lot and choose below one which is simple to program and easy to understand.//prototype Chain to implement mutilple extendsfunc

2015-06-02 12:08:59 392

原创 Object sharing for Runnable vs. extends Thread

This article is not about to talk the difference between implement Runnable interface and extends Thread class, but to talk about Object sharing in two ways while creating Threads.package com.concur

2015-06-01 11:46:06 382

原创 JavaScript - Translate Arabic Numbers to be English phrases

This JavaScript program is to translate Arabic numbers to be English phrases, may have machine learning skill.

2015-02-22 19:38:59 602

原创 JavaScript salary tool

This tool can be used to calculate the payment after tax & social found.// Copyright : Bian Junjie td{font-size:12px} table, td{ border-width : 1px; border-color : #60FFD3; borde

2014-12-12 21:59:28 577

原创 JavaScript to cnvert days to be month and day mode

This is a small tool to convert a number which refer to days from the begining of this year till today to be month & day mode.For example: reformat 123 to Month 5 day 3./** Copyright : Bian Junjie

2014-12-12 21:52:27 739

原创 Java Network Programming with wait() & notifyAll()

Below codes use Object.wait() & Object.notifyAll() to construct the Producer & Consumer model.There are one producer to read records of a file into a list, then notify threads to write into some sep

2014-12-10 09:56:51 734

转载 AMD(Asynchronous Moudle Definition) from Wiki

Modules/AsynchronousDefinitionFrom CommonJS Spec WikiModulesJump to: navigation, search STATUS: PROPOSAL ImplementationsRequireJS,Nodules, [[Implementations/Yabble (partial)|]]

2014-10-28 10:53:01 1000

转载 DOCTYPE的影响

http://www.fantxi.com/blog/archives/browser-mode/

2014-10-06 23:09:06 456

原创 sumary of mainframe uris

http://www.planetmvs.com/index.htmlhttp://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/r0000888.htmhttp://publib.boulder.ibm.com/infocenter/txformp/v5r1/i

2012-07-16 18:23:17 588

原创 工资计算小程序,不通用

闲来无事,写个小计算器自己玩玩。用法:程序名,社保比率(比如上海为18),工资。 所有的参数中数字的不支持浮点数输入。程序1:已知税前工资,求税后工资。program 1:#include #include #define ENSBASE 2800#define TAXBASE 3500static int suKou[4]={0,25,125,375};static

2012-05-30 16:13:56 1083

原创 Compute the sum number in PIC() clause of COBOL

//***********************************************************************//* This program is used to compute the sum value in the PIC clause. *//* It select the numbers in parenthesis, e.g. (02),

2012-05-30 09:53:22 349

转载 Zoned-Decimal

ILE RPG ReferenceZoned-Decimal Format Zoned-decimal format means that each byte of storage can contain one digit or one character. In the zoned-decimal format, each byte of storage is divi

2012-02-22 17:31:50 796

原创 USING BY REFERENCE

USING BY REFERENCEDO:    WORKING-STORAGE SECTION, LOCAL-STORAGE SECTION.DON'T:    FILE SCTION.    IN THE COBOL LANGUAGE REFERENCE, IT MENTIONES SEVERAL METHOD TO ENABLE         USING IT. B

2012-02-20 17:13:31 317

原创 EXTERNAL FD

EXTERNAL FD:SHARING FILES BETWEEN SEVERAL PROGRAMS.EVERY FD SHOULD BE EXTERNAL, SO IT CAN BE PUT INTO THE COPYBOOK.EXAMPLE: COPYBOOK CONTENT:FILE SECTION.                              FD E

2012-02-20 17:11:23 328

原创 用上面这六组数字, 求出 6 个数字

<br />第一大组: <br />(1)03,06,07,08,09,10,12,14,19,20,24,25,28,30,32,33 <br />(2)01,02,04,05,11,13,15,16,17,18,21,22,23,26,27,29,31 <br />第二大组: <br />(3)01,03,04,07,08,09,11,12,15,19,20,21,22,24,26,28,29,30 <br />(4)02,05,06,10,13,14,16,17,18,23,25,27,31,32,3

2010-08-21 13:48:00 897

原创 浅谈C++的string类型

2010-06-26 14:22:00 1104

webservicenonspringnonsecure

不使用Spring的情况下创建CXF Webservice。 需要通过继承CXFNonSpringServlet来发布service。

2016-05-31

Spring MVC book

This is a great book which talking about SpringMVC; Introduced SpringMVC framework includs what's it, how it's working and how to use in web development.

2015-05-25

hacker debugging uncovered kris

hacker debugging uncovered krishacker debugging uncovered krishacker debugging uncovered kris

2010-06-26

understading linux kernel 3

a linux source which is very hard to get!

2010-06-26

Java JTable 使用

Java JTable 使用,表和数据库连接,功能超强

2010-05-21

小巧JAVA计算器小巧JAVA计算器

小巧JAVA计算器小巧JAVA计算器小巧JAVA计算器

2010-02-04

c++特简单的万年历

特简单的万年历,c++设计。实现简单算法。

2009-09-18

数据结构作业之数制转换

这是一个关于数制转换的程序,很简洁的,希望对你有用!

2009-06-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除