posts - 66,comments - 41,trackbacks - 0
Computerworld在对多位IT高管进行调查之后,得出了2012 最需要IT技能,不过由于调查范围不够大,可能会出现偏差,仅供参考。

1)编程及应用开发:需求从2010年的44%上升到2012年的61%。
2)项目管理:不仅仅管理人才监管项目,还需要洞察用户需求并转述给其他IT员工,包括需求日益增加的商业分析师。
3)服务台支持/技术支持:随着移动操作系统的发展,需求随之增加
4) 网络设计:这类需求部分归结于虚拟化及云计算的发展,相关人员最好具有虚拟系统及思杰系统经验的人。
5) 商务智能(Business Intelligence):这类需求大部分归因于企业日益将重心从节省成本转向技术投资。
6) 数据中心:虚拟化及云技术也排在其后
7) Web 2.0:围绕社交媒体的技术需求将会增加,Net,AJAX及PHP作关键后端技术,HTML,XML,CSS,Flash及Javascript作前端支持。
8) 安全:2010年需求为32%,现在有所下降,但由于日趋严重的安全问题,许多人又将此提到一个新的高度
9 )电信:对IP电话技术人员的需求也相当大,尤其是对Cisco IPCC电话中心系统熟悉的人。
posted @ 2012-01-10 20:45 kylixlu 阅读(200) | 评论 (0)编辑 收藏

The Oracle TO_CHAR(datetime, fmt) function converts datetime values to a string in the format specified by the fmt option.

MySQL has the DATE_FORMAT function that allows datetime values converting to a string in the specified format.

SQLWays converts the Oracle TO_CHAR function to the MySQL DATE_FORMAT function and converts elements of format string from Oracle to corresponding specifier in MySQL as specified in the following table.

TABLE 56. Conversion of Oracle TO_CHAR(datetime) with format string to MySQL

Mapping of datetime format specifiers between MySQL and Oracle
MySQL
Oracle (independently from register)
Description
%a
DY
Abbreviated weekday name (Sun..Sat)
%b
MON
Abbreviated month name (Jan..Dec)
%D
-
Day of the month with English suffix (0th, 1st, 2nd, 3rd, etc.)
%d
%e
DD
 
Day of the month, numeric ((00..31) and (0..31))
%j
DDD
Day of year (001..366)
%m
%c
MM
Month, numeric ((00..12) and (0..12))
%M
MONTH
Month name (January..December)
%f
-
Microseconds (000000..999999)
%i
MI
Minutes, numeric (00..59)
%h
%I
%l
HH
HH12
Hour ((01..12) and (1..12))
%H
%k
HH24
Hour ((00..23) and (0..23))
%p
AM
PM
AM or PM
%r
-
Time, 12-hour (hh:mm:ss followed by AM or PM)
%S
%s
SS
Seconds ((00..59) and (0..59))
%T
-
Time, 24-hour (hh:mm:ss)
%u
WW
IW
Week (00..53), where Monday is the first day of week
%U
-
Week (00..53), where Sunday is the first day of week
%V
-
Week (01..53), where Sunday is the first day of week, used with %X
%v
WW
IW
Week (01..53), where Monday is the first day of week, used with %x
%W
DAY
Weekday name (Sunday..Saturday)
%w
-
Day of the week (0=Sunday .. 6=Saturday)
%X
-
Year for the week, where Sunday is the first day of the week, numeric 4 digits; used with %V
%x
-
Year for the week, where Monday is the first day of the week, numeric 4 digits; used with %v
%Y
YYYY
SYYYY
IYYY
Year, numeric, 4 digits
%y
YY
IYY
Year, numeric, 2 digits
-
J
Julian day; the number of days since January 1, 4712 BC.
-
Q
Quarter of year (1, 2, 3, 4; JAN-MAR = 1).
-
RR
Given a year with 2 digits:
· If the year is <50 and the last 2 digits of the current year are >=50, then the first 2 digits of the returned year are 1 greater than the first 2 digits of the current year.
· If the year is >=50 and the last 2 digits of the current year are <50, then the first 2 digits of the returned year are 1 less than the first 2 digits of the current year.
-
RRRR
Round year. Accepts either 4-digit or 2-digit input. If 2-digit, provides the same return as RR. If you don't want this functionality, then simply enter the 4-digit year.
-
W
Week of month (1-5) where week 1 starts on the first day of the month and ends on the seventh.
-
SSSSS
Seconds past midnight (0 - 86399).
-
X
Local radix character.
-
Y,YYY
Year with comma in the position.
-
YEAR
SYEAR
Year, spelled out; "S" prefixes BC dates with "-".
-
YYY
3 digits of year.
-
Y
1 digit of year.
-
IY
2 digits of ISO year.
-
I
1 digit of ISO year.
-
AD
A.D.
AD indicator with or without periods.
-
BC
B.C.
BC indicator with or without periods.
-
CC
SCC
One greater than the first two digits of a four-digit year; "S" prefixes BC dates with "-".
For example, '20' from '1900'.
-
D
Day of week (1 - 7).
-
A.M.
P.M.
Meridian indicator with periods.
-
TZH
Time zone hour.
-
TZM
Time zone minute.
-
TZR
Time zone region information.
-
RM
 
TABLE 57. Example of Conversion
Oracle
MySQL
create procedure sp_to_char_date_format
as
begin
-- GET ACTUAL TIME AND DATE
select to_char(sysdate,'DD-MON-YYYY:HH24:MI')
from dual;
end;
create procedure sp_to_char_date_format()
begin
-- GET ACTUAL TIME AND DATE
select DATE_FORMAT(CURRENT_TIMESTAMP, '%e-%M-
%Y:%H:%i') from dual;
end;

posted @ 2010-04-22 17:00 kylixlu 阅读(1194) | 评论 (0)编辑 收藏
近日在项目中写了个OPhone 调用Webservice的工具类,主要是使用了KSoap2来实现的,代码如下:

 1package com.ictehi.ophone.util;   
 2  
 3import java.io.IOException;   
 4import java.util.Iterator;   
 5import java.util.Map;   
 6  
 7import org.ksoap2.SoapEnvelope;   
 8import org.ksoap2.SoapFault;   
 9import org.ksoap2.serialization.SoapObject;   
10import org.ksoap2.serialization.SoapSerializationEnvelope;   
11import org.ksoap2.transport.AndroidHttpTransport;   
12import org.ksoap2.transport.HttpTransportSE;   
13import org.xmlpull.v1.XmlPullParserException;   
14  
15import android.util.Log;   
16  
17public class WSUtils {   
18  
19    public WSUtils() {   
20    }
   
21       
22    /**  
23     * @author Eric.Lu  
24     * @param endPoint  
25     * @param methodName  
26     * @param params  
27     * @param wsdl  
28     * @return SoapObject  
29     */
  
30    public static SoapObject callWS(String nameSpace, String methodName,   
31            Map params, String wsdl) {   
32  
33        final String SOAP_ACTION=nameSpace+methodName;   
34        SoapObject request = new SoapObject(nameSpace, methodName);   
35        SoapObject soapResult=null;   
36           
37        if(params !=null && !params.isEmpty()){   
38            for(Iterator it=params.entrySet().iterator();it.hasNext();){//遍历MAP   
39                Map.Entry<String, Object> e=(Map.Entry<String, Object>) it.next();   
40                request.addProperty(e.getKey().toString(),e.getValue());   
41            }
   
42        }
   
43           
44            /**  
45             * 设置Soap版本  
46             * 类型:VER1.0,VER1.1,VER1.2  
47             */
  
48            // SoapSerializationEnvelope envelope=new SoapSerializationEnvelope(SoapEnvelope.VER10);//SOAP 1.0   
49            SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);// SOAP 1.1   
50            // SoapSerializationEnvelope envelope=new SoapSerializationEnvelope(SoapEnvelope.VER12);//SOAP 1.2   
51               
52            envelope.dotNet=true;//是否是dotNet WebService   
53            envelope.bodyOut = request;   
54  
55//          HttpTransportSE ht = new HttpTransportSE(wsdl);   
56            AndroidHttpTransport androidHT=new  AndroidHttpTransport(wsdl);    
57            try {   
58//              ht.call(SOAP_ACTION, envelope);   
59                androidHT.call(SOAP_ACTION,envelope);   
60            }
 catch (IOException e) {   
61                Log.e("IOException:", e.getMessage());   
62            }
 catch (XmlPullParserException e1) {   
63                Log.e("XmlPullParserException", e1.getMessage());   
64            }
   
65            try {   
66                soapResult=(SoapObject)envelope.getResponse();   
67            }
 catch (SoapFault e) {   
68                Log.e("SoapFault",e.getMessage());   
69            }
   
70        return soapResult;   
71    }
   
72}
  
73
74
75本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/kylixlu/archive/2010/03/12/5372846.aspx
调用这个工具类的方法如下:
 1HashMap<String, Object> params = new HashMap<String, Object>();      
 2        params.put("theCityName", peoples[position]);      
 3        String wsdl = "webservice的wsdl地址";      
 4        String nameSpace = "wsdl中的namespace";      
 5        String methodName = "方法名";//      
 6        // SoapObject result = WSUtils.callWS(nameSpace, methodName,      
 7        // wsdl,peoples[position]);      
 8        SoapObject result = WSUtils.callWS(nameSpace, methodName, params, wsdl);    
 9
10
11本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/kylixlu/archive/2010/03/12/5372846.aspx
posted @ 2010-03-24 09:23 kylixlu 阅读(800) | 评论 (0)编辑 收藏
     摘要: 系统架构设计师考试大纲 一、考试说明: 1.考试目标        考试合格人员应能够根据系统需求规格说明书,结合应用领域和技术发 展的实际情况,考虑有关约束条件,设计正确、合理的软件架构,确保系统架构具有良好的特性;能够对项目睥系统架构进行描述、分析、设计与评估;能够按照相 关标准编写相应的设计文档;能够与系统分析师、项目管理...  阅读全文
posted @ 2010-03-09 13:28 kylixlu 阅读(278) | 评论 (0)编辑 收藏
<?xml version="1.0" encoding="UTF-8"?>
<license>
    
<terms>
        
<issued_to>rapidhorse.com.cn</issued_to>
        
<license_identifier>SN732563653</license_identifier>
        
<edition>enterprise</edition>
        
<evaluation>N</evaluation>
        
<start_date>12/13/2007</start_date>
        
<expiration>5/29/2099</expiration>
        
<full_test_director>500</full_test_director>
        
<additional_defects>500</additional_defects>
        
<tolerance>0%</tolerance>
        
<requirements>Y</requirements>
        
<advanced_reports>Y</advanced_reports>
        
<business_process_testing>500</business_process_testing>
        
<version_control>Y</version_control>
        
<dashboard>Y</dashboard>
    
</terms>
    
<Signature>lA0FAVrF+UTDW2qVIDjVPCSpPKRUpKcoTO8/GI95D1RLIzQAq/8mv+HnIGQ0Grv9am8QKHfncRsARR153QxqKw==</Signature>
</license>
posted @ 2010-02-24 17:24 kylixlu 阅读(266) | 评论 (1)编辑 收藏
permission:android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS
permission:android.permission.FACTORY_TEST
permission:android.permission.SET_ACTIVITY_WATCHER
permission:android.permission.CLEAR_APP_USER_DATA
permission:android.permission.ACCESS_DOWNLOAD_MANAGER
permission:android.permission.CALL_PRIVILEGED
permission:android.permission.FORCE_BACK
permission:android.permission.ACCESS_CHECKIN_PROPERTIES
permission:android.permission.CONTROL_LOCATION_UPDATES
permission:android.permission.WRITE_SECURE_SETTINGS
permission:android.permission.READ_FRAME_BUFFER
permission:android.permission.INTERNAL_SYSTEM_WINDOW
permission:android.permission.ADD_SYSTEM_SERVICE
permission:android.permission.INJECT_EVENTS
permission:android.permission.MASTER_CLEAR
permission:android.permission.STATUS_LED
permission:android.permission.ACCESS_DRM
permission:android.permission.STATUS_BAR
permission:android.permission.PACKAGE_USAGE_STATS
permission:android.permission.BATTERY_STATS
permission:android.permission.INSTALL_PACKAGES
permission:android.permission.MANAGE_APP_TOKENS
permission:android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED
permission:android.permission.SET_PROCESS_FOREGROUND
permission:android.permission.BIND_INPUT_METHOD
permission:com.android.providers.streaming.permission.READ_ONLY
permission:android.permission.ACCESS_SURFACE_FLINGER
permission:android.permission.CHANGE_COMPONENT_ENABLED_STATE
permission:android.permission.READ_INPUT_STATE
permission:android.permission.DELETE_PACKAGES
permission:android.permission.UPDATE_DEVICE_STATS
permission:android.permission.BRICK
permission:android.permission.ACCESS_CACHE_FILESYSTEM
permission:android.permission.WRITE_GSERVICES
permission:android.permission.REBOOT
permission:android.permission.DELETE_CACHE_FILES
permission:com.android.providers.streaming.permission.WRITE_ONLY
permission:android.permission.FOTA_UPDATE
permission:android.permission.SET_ORIENTATION
permission:android.permission.DEVICE_POWER

posted @ 2010-02-08 10:00 kylixlu 阅读(739) | 评论 (0)编辑 收藏
1.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/dom4j/DocumentException
解决方法:添加dom4j.jar

2.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/spring/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
解决方法:  添加jta.jar

posted @ 2010-01-28 22:43 kylixlu 阅读(186) | 评论 (0)编辑 收藏

1. 查看你的Eclipse中使用的是什么SVN Interface
windows > preference > Team > SVN #SVN Interface

2. 如果是用的JavaHL, 找到以下目录并删除auth目录.
C:\Documents and Settings\[YourUserName]\Application Data\Subversion\

3. 如果你用的SVNKit, 找到以下目录并删除.keyring文件.
[eclipse]\configuration\org.eclipse.core.runtime

posted @ 2009-12-21 17:08 kylixlu 阅读(264) | 评论 (0)编辑 收藏

使用svn log命令生成一个changelog.xml文件:

1.生成文件需要记录所有的变更:
svn log <path> -v --xml > changelog.xml
-v :verbose模式
--xml :输出xml文件
changelog.xml输出的xml文件名


2.生成的文件只需记录当前最新的变更:
svn log <path> -r HEAD -v --xml >changelog.xml
-r:revision
HEAD :最新的版本信息
还有两个参数与上面同解

BTW:  svn log 还有好多参数,请自己使用
svn log -h   查阅

也许你执行了以上的命令后,你会发现自己的最新变更信息并不在changelog.xml中,这是为什么呢?
这是因为SVN中的“update”与"commit"是分开的.在版本做出变更后,还需执行以下的命令:

svn update <path>

当然svn update也有很多其它参数,详情请使用
svn update -h 查阅

先写到这里,后面还要介绍用ant脚本怎么来实现同样的操作.

posted @ 2009-08-12 21:54 kylixlu 阅读(727) | 评论 (0)编辑 收藏
    Eclipse+ADT是目前最推荐的一种开发Android的开发环境,不过有些Android程序是使用Android提供的一些工具(如:Android命令)和其它IDEs中建立的,那怎么样才能将这些非Eclipse中建立的Android项目导入进来呢?
   
    1.首先要确保你的Eclipse安装了ADT(Android Development Tools)插件.(详细资料请查阅官方文档

    2.新建一个Android项目,此时选择"Create project form existing source",在Location中点"Browse...",先中Android项目所在文件夹。
       其它的所以一切Eclipse会自动识别,之后你点"Finish",项目就成功导入到Eclipse中了。


posted @ 2009-07-31 09:41 kylixlu 阅读(950) | 评论 (0)编辑 收藏
    项目中的OTA Server中的一个功能。具体使用请看https://www.clickatell.com/developers/api_http.php
    代码如下:

 1  protected void SendSMS()
 2     {
 3 
 4         string api_id = "xxxxxx";//api_id请查阅clicktell网站帮助
 5         string user = "xxxxxx";
 6         string password = "xxxxx";
 7         //string mobile = "xxxxxx";
 8         string mobile = txtMobile.Text;//一个输入手机号的文本框
 9 
10         string appUri = getAppUri();//发送给手机的App链接,出于保密,此处假设了getAppUri()方法
11 
12         StringBuilder smsParams = new StringBuilder();
13         smsParams.Append("api_id=" + api_id);
14         smsParams.Append("&user=" + user);
15         smsParams.Append("&password=" + password);
16         smsParams.Append("&to=" + mobile);
17         smsParams.Append("&text=" + appUri);
18 
19 
20 
21         Uri smsuri = new Uri(string.Format("http://api.clickatell.com/http/sendmsg?{0}", smsParams));
22 
23         HttpWebRequest request = (HttpWebRequest)WebRequest.Create(smsuri);
24 
25         request.AllowAutoRedirect = false;
26 
27         request.Method = "GET";
28 
29 
30         HttpWebResponse response = (HttpWebResponse)request.GetResponse();
31 
32     }
33 
34 
这个方法不仅适用于clicktell公司的服务,其它的一些SMS服务提供商,用C#调用方法也差不多,仅供大家参考,呵呵

posted @ 2009-07-16 21:52 kylixlu 阅读(218) | 评论 (0)编辑 收藏
protected void getAllDirs(string path)
    {
        DirectoryInfo dirinfo 
= new DirectoryInfo(@path);
        DirectoryInfo[] dirs 
= dirinfo.GetDirectories();

        
for (int i = 0; i < dirs.Length; i++) {

            Response.Write(dirs[i].FullName 
+ "<br>");//页面上打印输出
            getAllDirs(dirs[i].FullName);//递归
        }
           
    }
posted @ 2009-07-16 20:31 kylixlu 阅读(177) | 评论 (0)编辑 收藏
    我用了一个虚拟机做NightlyBuild脚本的测试,因为要装三个JDE的版本,发现装完JDK+ANT+三个JDE之后,硬盘没空间了,去虚拟机配置里看了一下,还没地方可以调整硬盘大小的。
    不过VMWare,提供了以命令行的方式,调整硬盘的大小,在<VMWare_HOME>下有一个vmware-vdiskmanager.exe 可以增加虚拟硬盘的容量:
 
    e.g :我要把硬盘变成5G大小,可以用以下命令

      C:\VMware安装路径>vmware-vdiskmanager -x 6Gb X:\你虚拟机文件的路径\Windows" "XP" "Professional.vmdk

    (注意:我的虚拟机创建时用了默认文件名Windows XP Professional.vmdk,所以中间有空格,所以要用引号括起来)


        
         如果命令正确,就会出现上图的操作.


        
D:\System\VMware\VMware Workstation>vmware-vdiskmanager -x 6Gb F:\VM_XP_EN\Windo
ws" "XP" "Professional.vmdk
Using log file C:\DOCUME~1\ERICLU~1.IBM\LOCALS~1\Temp\vmware-Eric.Lu\vdiskmanage
r.log
  Grow: 100% done.
The old geometry C/H/S of the disk is: 10402/16/63
The new geometry C/H/S of the disk is: 12483/16/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
         utility in the virtual machine to expand the size of the
         partitions. For more information, see:
         http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647

D:\System\VMware\VMware Workstation>
        等Grow:100%后,并不等于我们的虚拟机硬盘就是5Gb了,我们要用PQ之类的软件对其进行重新分配置,调整分区大小,才会有效果,不然 硬盘的分区大小还是原来那么大。





posted @ 2009-07-02 20:01 kylixlu 阅读(1594) | 评论 (0)编辑 收藏