-
用java nio合并两个小文件的方法
JAVA NIO 的效率比原来的IO API 效率要高,做了一个简单的测试,合并两个小文件,仅仅测试而已。不能直接用于自己的工程中。
Date: 2013-02-27 View: 1520
-
django 事务小结(ORM 事务以及raw sql,customize sql 事务处理)
django 中要求事务处理的情况有两种:1.基于django orM 的 transaction 处理2.是基于自定义SQL 语句的transaction的处理,通常是比较复杂的SQL ,用ORM 处理不方便的时候用的。或者是大批量SQL语句执行,比较在意效率的情况下用。首先说一下第二种情况,因为这种情况相对简单一点,没ORM 那么多东西,用我写的一个方法来解释
Date: 2012-10-08 View: 1520
-
java vnc reverse connection(Java vnc server 反向连接)
VNC 是基FRB 协议而做出的一种虚拟网络连接的软件。VNC 一般两种链接方式:1.VNC CLIENT 连接 VNC SERVER,需要服务端有固定IP.客户端连接到VNC SERVER ,查看SERVER 桌面,控制SERVER操作等。
Date: 2012-08-16 View: 1520
-
收藏的一个用JAVASCRIPT 操作 HTML Select 标签的东西
Date: 2009-10-29 View: 1520
-
filenet 的 wat 方式编程之二
Ui module 和 dataprovider 都是从 wcmModule 继承过来的. 提供了以下几个方法:addChild(…)getController()getDataStore()getModuleProperty(…)
Date: 2009-10-10 View: 1520
-
filenet 的 wat 方式编程之一.
IBM 的 FILENET 产品,二次开发的话,你可以自己写JSP页面,自己调用API与CE,PE打交道,存取数据等。还有一种方法,就是 filenet 本身自带的一种方法,简称 WAT 吧。至于怎么部署的,玩过FILENET的人,应该都知道。这两天刚看了WAT入门的东西,把我自己的理解记录下来吧,以后好参考, WAT 也是MVC模式的,和FILENET 的集成很好,用他来扩展WORKPLACE的话,很简单,也很方便和WORKPLACE 融为一体。1.event jsp页面.Event jsp 页面,包括了与之相关的 UI MODULE, DATA PROVIDER, CONTROLL BEAN 等信息. 注册 相关 module 和 control 。并调用 control 的 handevent方法 dispatch 事件,要么转向控制器本身,要么转向另一个 UI module ,
Date: 2009-09-29 View: 1520
-
MongoDB Authentication example
This guide shows you how to enable authentication in MongoDB. The authentication is disabled by default. To configure it, you must first add a user to the “admin” database.
Date: 2019-08-18 View: 1520
-
How to convert Date in BeanWrapperFieldSetMapper
Read following Spring batch job, it reads data from “domain.csv“, and map it to a domain object.
Date: 2019-08-18 View: 1520
-
Spring Batch Partitioning example
Photo Credit : Spring Source
Date: 2019-08-18 View: 1520
-
Cant create file in the C drive root directory Windows 8
Developing a simple Java program to write a file in the C drive root directory (where Windows is installed), but the program prompts an “access is denied” error. Try to create an empty file in the C drive root directory manually, but no options to create any files, only new folder is allowed.
Date: 2019-08-18 View: 1520
-
Windows 8 keeps dropping wifi connection
A desktop computer, Windows 8 is installed, connect to a nearby router via a wireless USB adapter.
Date: 2019-08-18 View: 1520
-
Spring MVC @ExceptionHandler Example
In this tutorial, we show you how to do exception handling in Spring MVC frameworks. Normally, we use @ExceptionHandler to decide which “view” should be returned back if certain exception is raised.
Date: 2019-08-18 View: 1520
-
Spring Security + Hibernate Annotation Example
In this tutorial, previous Spring Security + Hibernate4 XML example will be reused, and convert it to a annotation-based example.
Date: 2019-08-18 View: 1520
-
JSP jsessionid appear in CSS and JS link
In Spring MVC + JSP view page environment.
Date: 2019-08-17 View: 1520
-
Spring + Hibernate : No Session found for current thread
Integrates Spring 3 and Hibernate 4, the system shows the following message while performing database operation :
Date: 2019-08-17 View: 1520