1.启用单向通讯的方法,不能有返回值(void可以),不能有out参数,只允许传入参数。
[ServiceContract(Namespace = "MyNamespace")] public interface IService {
[OperationContra...
分类:
其他好文 时间:
2014-06-06 22:24:17
阅读次数:
263
// 注册 jvm 关闭时操作
Runtime.getRuntime().addShutdownHook(new Thread(){ public void run() {
System.out.println("关闭"); } });
分类:
其他好文 时间:
2014-06-06 21:54:11
阅读次数:
241
日期的默认输出格式为:Tue Jun 03 19:30:08 CST
2014。问题:如果调整输出的格式。 public static void fun1() { Date date = new Date();
System.out.println(date.toString());} 使用正则表达...
分类:
其他好文 时间:
2014-06-06 17:27:41
阅读次数:
278
就像是在Data in, data
out中解释过的,index中的每个document都有type。每个type都有自己的mapping或者schema
definition。在type中mapping定义filed,定义每个filed中的数据类型,定义ES怎么处理这个filed,mapping也...
分类:
移动开发 时间:
2014-06-06 16:32:38
阅读次数:
235
第一个问题:
JSP有多少类内置对象?要想回答好这个问题,首先是对JSP的基本知识和技术有深刻的理解和掌握。主要有九个内置对象:application对象,config对象,exception对象,out对象,page对象,pageContext对象,request对象,reponse对象,sess...
分类:
Web程序 时间:
2014-06-06 15:50:38
阅读次数:
280
rsnc remote sync
远程同步安装包:rsync-3.0.6-4.el5_7.1.x86_64.rpm rpm -ivh
rsync-3.0.6-4.el5_7.1.x86_64.rpm 本地模式只需要安装rsync即可:rsync -av /secbox /backup
备份到本地rs...
分类:
系统相关 时间:
2014-06-06 15:07:58
阅读次数:
416
iOS5
UIViewController加入了管理UIViewController的功能,就像管理subview一样方便。这儿有一博文介绍得很清楚。我在项目中用到了它,方便view的切换。下面的代码有一种fade
in/out的效果。[selftransitionFromViewControlle...
分类:
移动开发 时间:
2014-06-06 07:39:54
阅读次数:
345
Understanding the RelationshipType Enumeration
[AX 2012]3 out of 3 rated this helpful-Rate this topic Updated:January 28, 2012
Applies To:Microsoft Dy...
分类:
其他好文 时间:
2014-06-05 20:49:01
阅读次数:
428
Table Groups [AX 2012]0 out of 1 rated this
helpful-Rate this topic Updated:February 21, 2012 Applies To:Microsoft Dynamics
AX 2012 R2, Microsoft Dyna...
分类:
其他好文 时间:
2014-06-05 20:45:09
阅读次数:
326
longtime=System.currentTimeMillis(); System.out.println(time); SimpleDateFormatformat=newSimpleDateFormat("yyyy-MM-ddHH:mm:ss"); java.util.Dated1=newDate(time); Stringnow=format.format(d1); System.out.println(now); longt=0; try{ java.util.Dated2=format.pa..
分类:
移动开发 时间:
2014-06-04 12:51:10
阅读次数:
474