posts - 66,comments - 41,trackbacks - 0
          Computerworld在對多位IT高管進行調(diào)查之后,得出了2012 最需要IT技能,不過由于調(diào)查范圍不夠大,可能會出現(xiàn)偏差,僅供參考。

          1)編程及應(yīng)用開發(fā):需求從2010年的44%上升到2012年的61%。
          2)項目管理:不僅僅管理人才監(jiān)管項目,還需要洞察用戶需求并轉(zhuǎn)述給其他IT員工,包括需求日益增加的商業(yè)分析師。
          3)服務(wù)臺支持/技術(shù)支持:隨著移動操作系統(tǒng)的發(fā)展,需求隨之增加
          4) 網(wǎng)絡(luò)設(shè)計:這類需求部分歸結(jié)于虛擬化及云計算的發(fā)展,相關(guān)人員最好具有虛擬系統(tǒng)及思杰系統(tǒng)經(jīng)驗的人。
          5) 商務(wù)智能(Business Intelligence):這類需求大部分歸因于企業(yè)日益將重心從節(jié)省成本轉(zhuǎn)向技術(shù)投資。
          6) 數(shù)據(jù)中心:虛擬化及云技術(shù)也排在其后
          7) Web 2.0:圍繞社交媒體的技術(shù)需求將會增加,Net,AJAX及PHP作關(guān)鍵后端技術(shù),HTML,XML,CSS,F(xiàn)lash及Javascript作前端支持。
          8) 安全:2010年需求為32%,現(xiàn)在有所下降,但由于日趨嚴(yán)重的安全問題,許多人又將此提到一個新的高度
          9 )電信:對IP電話技術(shù)人員的需求也相當(dāng)大,尤其是對Cisco IPCC電話中心系統(tǒng)熟悉的人。
          posted @ 2012-01-10 20:45 kylixlu 閱讀(206) | 評論 (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 閱讀(1207) | 評論 (0)編輯 收藏
          近日在項目中寫了個OPhone 調(diào)用Webservice的工具類,主要是使用了KSoap2來實現(xiàn)的,代碼如下:

           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             * 設(shè)置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博客,轉(zhuǎn)載請標(biāo)明出處:http://blog.csdn.net/kylixlu/archive/2010/03/12/5372846.aspx
          調(diào)用這個工具類的方法如下:
           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博客,轉(zhuǎn)載請標(biāo)明出處:http://blog.csdn.net/kylixlu/archive/2010/03/12/5372846.aspx
          posted @ 2010-03-24 09:23 kylixlu 閱讀(807) | 評論 (0)編輯 收藏
               摘要: 系統(tǒng)架構(gòu)設(shè)計師考試大綱 一、考試說明: 1.考試目標(biāo)        考試合格人員應(yīng)能夠根據(jù)系統(tǒng)需求規(guī)格說明書,結(jié)合應(yīng)用領(lǐng)域和技術(shù)發(fā) 展的實際情況,考慮有關(guān)約束條件,設(shè)計正確、合理的軟件架構(gòu),確保系統(tǒng)架構(gòu)具有良好的特性;能夠?qū)椖款⑾到y(tǒng)架構(gòu)進行描述、分析、設(shè)計與評估;能夠按照相 關(guān)標(biāo)準(zhǔn)編寫相應(yīng)的設(shè)計文檔;能夠與系統(tǒng)分析師、項目管理...  閱讀全文
          posted @ 2010-03-09 13:28 kylixlu 閱讀(296) | 評論 (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 閱讀(273) | 評論 (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 閱讀(744) | 評論 (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 閱讀(189) | 評論 (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 閱讀(271) | 評論 (0)編輯 收藏

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

          1.生成文件需要記錄所有的變更:
          svn log <path> -v --xml > changelog.xml
          -v :verbose模式
          --xml :輸出xml文件
          changelog.xml輸出的xml文件名


          2.生成的文件只需記錄當(dāng)前最新的變更:
          svn log <path> -r HEAD -v --xml >changelog.xml
          -r:revision
          HEAD :最新的版本信息
          還有兩個參數(shù)與上面同解

          BTW:  svn log 還有好多參數(shù),請自己使用
          svn log -h   查閱

          也許你執(zhí)行了以上的命令后,你會發(fā)現(xiàn)自己的最新變更信息并不在changelog.xml中,這是為什么呢?
          這是因為SVN中的“update”與"commit"是分開的.在版本做出變更后,還需執(zhí)行以下的命令:

          svn update <path>

          當(dāng)然svn update也有很多其它參數(shù),詳情請使用
          svn update -h 查閱

          先寫到這里,后面還要介紹用ant腳本怎么來實現(xiàn)同樣的操作.

          posted @ 2009-08-12 21:54 kylixlu 閱讀(743) | 評論 (0)編輯 收藏
              Eclipse+ADT是目前最推薦的一種開發(fā)Android的開發(fā)環(huán)境,不過有些Android程序是使用Android提供的一些工具(如:Android命令)和其它IDEs中建立的,那怎么樣才能將這些非Eclipse中建立的Android項目導(dǎo)入進來呢?
             
              1.首先要確保你的Eclipse安裝了ADT(Android Development Tools)插件.(詳細資料請查閱官方文檔

              2.新建一個Android項目,此時選擇"Create project form existing source",在Location中點"Browse...",先中Android項目所在文件夾。
                 其它的所以一切Eclipse會自動識別,之后你點"Finish",項目就成功導(dǎo)入到Eclipse中了。


          posted @ 2009-07-31 09:41 kylixlu 閱讀(955) | 評論 (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網(wǎng)站幫助
           5         string user = "xxxxxx";
           6         string password = "xxxxx";
           7         //string mobile = "xxxxxx";
           8         string mobile = txtMobile.Text;//一個輸入手機號的文本框
           9 
          10         string appUri = getAppUri();//發(fā)送給手機的App鏈接,出于保密,此處假設(shè)了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公司的服務(wù),其它的一些SMS服務(wù)提供商,用C#調(diào)用方法也差不多,僅供大家參考,呵呵

          posted @ 2009-07-16 21:52 kylixlu 閱讀(224) | 評論 (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 閱讀(183) | 評論 (0)編輯 收藏
          主站蜘蛛池模板: 蒲城县| 湾仔区| 涞水县| 鸡西市| 成安县| 秦皇岛市| 余姚市| 普定县| 抚宁县| 砚山县| 巴林左旗| 武宣县| 沙河市| 大新县| 阜新| 秦安县| 五峰| 越西县| 剑川县| 新巴尔虎右旗| 石渠县| 皋兰县| 冷水江市| 托克逊县| 白山市| 大城县| 二连浩特市| 湖南省| 崇文区| 开鲁县| 曲靖市| 左权县| 土默特右旗| 马尔康县| 铁力市| 上杭县| 陇川县| 嘉定区| 宜阳县| 隆林| 佛坪县|