`
shangtang004
  • 浏览: 31466 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
1,停掉MYSQL SERVER,如果服务是WIN service, start->control panel->administrative tools->services 2, 创建文本文件 UPDATE mysql.user SET Password=PASSWORD('mysql') WHERE User='root'; FLUSH PRIVILEGES; 保存为 D:\mysql-init.txt 3, 打开CMD, C:\>"C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqld.exe&q ...
听说AWK功能很强,一直不敢去学,感觉复杂,为了找出系统中一个耗时最长的操作,我学习去使用AWK,拼拼也终于能找出,如果各位有更好的方法,欢迎指正。 A03B-fm-1# for i in 0 1 2 3 4  5 6 7 8 > do > grep 'Upload takes (ms)' PmServer$i.log |awk -F: 'BEGIN{time=0;cont="t"; print "Begin"}{if($3 > time){time = $3;cont=$0}}END{print time "\t" ...
today, app raise one database deadlock, from googleed, it said it is my app design issue. keep trace log as backup. trying to solve it. SQL> select object_name from dba_objects where object_id=57327; OBJECT_NAME -------------------------------------------------------------------------------- NE ...
JAVA 提供两种异常,检测与非检测; 检测异常类是java.lang.Exception and its subclass. non checked exception is java.lang.RuntimeException,java.lang.Error and their subclass. Checked exceptions indicate an exceptional condition from which a caller can conceivably recover. Conversely, runtime exceptions indicate a programm ...
PM stuck at the PM upload from partial number of eNBs. this issue i have analyzed, but can not give a solution. need to think more. 就是这一点点思考能力有待提高哟。 现在很多问题我都能ROOT CAUSE,但是基本上提不出解决方案。 •Each action in a thread happens-before every action in that thread that comes later in the program's order. • ...

forward

  java 安全沙箱模型详解 http://kenwublog.com/explain-java-security-sandbox
http://blog.sina.com.cn/s/blog_6bef90aa0100nm5t.html   http://bbs.seedit.com/thread-1245895-1-1.html   http://home.babytree.com/u/u108848852/j/351926
不论Struts还是JSF,还是.net,或者此前的任何主流Web程序,都是在服务器上构造用户界面,而客户端只是单纯显示界面,这种技术架构和早期的字符终端模式本质上是一样的,是原始、落后、丑陋、低效率、混杂的。 之所以这么 ...
转自:http://www.cn-java.com/www1/?631851/viewspace-56402 先说说Web三层架构这个古老话题。地球人都知道web三层架构是指: >用户接口层(UI Layer) >业务逻辑层(Bussiness Layer) >持久化层 关于业务逻辑和用户接口  在早期的web开发中 ...
1、mysql两种主要存储引擎区别与使用 myisam innodb 答:主要有两个区别:      myisam非事务安全,而且不支持外键,innodb事务表,支持外键;     innodb把数据和索引存放在表空间中,可能包含多个文件,myisam表存放在单独的文件中;(表空间不是很理解?) 每张myisam表包含三个文件,frm表结构文件,myd数据文件,myi索引文件 用法:执行大量select ,用myisam;如果需要一个事务安全的存储引擎,执行大量的update和insert使用innodb; 2、java序列化,作用、实现方法、使用场景 答:序列化的作用:将对象状戊 ...
无论你每个月工资多少,请将其分为五份。   第一份,用来做生活费。  第二份,用来交朋友,扩大你的人际圈。  你的电话费可以用掉100元。每个月可以请客两次,每次150元。请谁呢?记住,请比你有思想的人,比你更有钱 ...
java 中的=为简单赋值运算符, += -= 等为复合赋值运算符   看java specification中的一句话   A compound assignment expression of the form E1 op= E2 is equivalent to E1 = (T)((E1) op (E2)), where T is the type of E1, except that E1 is evaluated only once. For example, the following code is correct:   short x = 3; x ...
1、JDK动态代理 java.lang.reflect.InvocationHandler 调用处理器java.lang.reflect.Proxy 代理类的父类,是所有jdk代理类的父类JDK代理类是接口代理,因为它继承了proxy这个类,java是单继承的jdk代理类通过调用处理器中的invoke方法来实现动态代理的目的,invoke签名,public Object invoke(Object proxy,Method method,Object[] args);proxy 代理实例,method 接口方法的Method实例,args 调用方法的参数数组 代理实例创建 Proxy.newP ...
  Function.prototype.bind=function(obj){   var _method = this; return function(){ _method.apply(obj,arguments); } }   call和apply差不多,只是call参数是一个个arg,而apply是arguments.   The difference is that bind returns a function reference that can be used later, rather than the result of an immediate exe ...
TWaver是一套基于Java技术的界面软件开发组件包,主要应用于电信行业,也可应用于电力、金融、制造、交通等行业的软件开发中。一般的Java软件系统图形界面开发需要花费大量的时间和人力,运行效率低下,界面不够专业美观。如果采用TWaver组件来开发Java软件界面,可以非常简单快速的创建精美、专业、高效的图形化界面,提高开发和运行效率,增加客户满意度,提高软件竞争力。  TWaver由以下部分组成: 数据容器组件; 预定义业务对象集合; Swing组件集合; 数据编辑器; XML数据管理模块; Web扩展; 服务器集成框架; TWaver主要功能包括:   数据箱组件: 业务数据容器组件可以用 ...
Global site tag (gtag.js) - Google Analytics