<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 34, 文章 - 1, 評論 - 2, 引用 - 0
    數據加載中……

    birt ----- report tool

    1、 http://www.eclipse.org/birt/  大概了解個網站導航
            內容包括:introduction(簡介) , download(下載),install(安裝指南) , tutorial(教程),faq等
    2、下載,到http://download.eclipse.org/birt/downloads/  可以一一下載

    該工具做中國式報表很不錯

    posted @ 2009-12-30 09:59 河馬虎 閱讀(188) | 評論 (0)編輯 收藏

    如何做需求?

    需求要做的事情:
        1).要明確誰或者那個崗位(或者角色)要使用這個系統
        2).該崗位的業務流程
        3) 該崗位能為系統提供哪些數據
        4 )該崗位系統從系統得到哪些數據或者功能

    比如客戶提出我要做一張桌子。
     那么需求人員就要獲取一下信息:
    1 ) 這張桌子給誰用,(給小孩還是大人?)
    2) 這張桌子做什么用,(書桌還是飯桌?)
    3) 客戶希望這張桌子是一個什么樣子的(材質、顏色 、高低、形狀等屬性)
    有了以上這些信息才能進入分析設計階段。
    如何跟用戶達成一致的需求和理解:
           當然,桌子是大家經常見到的東西,需求人員和客戶溝通起來都比較好達成一致,計算機系統往往是從無到有的一個過程?那么如何準確的獲取到用戶的需求呢?通過做界面原型也許是一個很好的方式,界面原型特點是直觀,界面原型是的客戶和需求人員有了溝通的基礎和橋梁,能幫助很快達成一致。

    如何做以及維護界面原型:
    1) 界面原型技術實現盡量簡單,但功能上要豐富一些,因為要面對客戶,而且界面原型甚至確定了后來的整個系統概貌
    2) 界面原型最好要專人來維護,根據客戶的要求不同進行修改和維護
    3)界面原型的設計盡量讓 需求和分析人員、美工人員共同完成。





    posted @ 2009-12-30 09:41 河馬虎 閱讀(177) | 評論 (0)編輯 收藏

    一個美國老工程師的心理話: 給年輕工程師的十大忠告

    一個美國老工程師的心理話: 給年輕工程師的十大忠告

    [1]好好規劃自己的路,不要跟著感覺走!根據個人的理想決策安排,絕大部分人并不指望成為什么院
    士或教授,而是希望活得滋潤一些,爽一些。那么,就需要慎重安排自己的軌跡。從哪個行業入手,逐
    漸對該行業深入了解,不要頻繁跳槽,特別是不要為了一點工資而轉移陣地,從長遠看,這點錢根本不
    算什么,當你對一個行業有那么幾年的體會,以后錢根本不是問題。頻繁地動蕩不是上策,最后你對哪
    個行業都沒有摸透,永遠是新手!   

    [2]可以做技術,切不可沉湎于技術。千萬不可一門心思鉆研技術!給自己很大壓力,如果你的心思全
    部放在這上面,那么注定你將成為孔乙己一類的人物!適可而止為之,因為技術只不過是你今后前途的
    支柱之一,而且還不是最大的支柱,除非你只愿意到老還是個工程師!   

    [3]不要去做技術高手,只去做綜合素質高手!在企業里混,我們時常瞧不起某人,說他“什么都不
    懂,憑啥拿那么多錢,憑啥升官!”這是普遍的典型的工程師的迂腐之言。8051很牛嗎?人家能上去必
    然有他的本事,而且是你沒有的本事。你想想,老板搞經營那么多年,難道見識不如你這個新兵?人家
    或許善于管理,善于領會老板意圖,善于部門協調等等。因此務必培養自己多方面的能力,包括管理,
    親和力,察言觀色能力,攻關能力等,要成為綜合素質的高手,則前途無量,否則只能躲在角落看示波
    器!技術以外的技能才是更重要的本事!!從古到今,美國日本,一律如此!   

    [4]多交社會三教九流的朋友!不要只和工程師交往,認為有共同語言,其實更重要的是和其他類人物
    交往,如果你希望有朝一日當老板或高層管理,那么你整日面對的就是這些人。了解他們的經歷,思維
    習慣,愛好,學習他們處理問題的模式,了解社會各個角落的現象和問題,這是以后發展的巨大的本
    錢,沒有這些以后就會笨手笨腳,跌跌撞撞,遇到重重困難,交不少學費,成功的概率大大降低!

     [5]知識涉獵不一定專,但一定要廣!多看看其他方面的書,金融,財會,進出口,稅務,法律等
    等,為以后做一些積累,以后的用處會更大!會少交許多學費!!   

    [6]抓住時機向技術管理或市場銷售方面的轉變!要想有前途就不能一直搞開發,適當時候要轉變為管
    理或銷售,前途會更大,以前搞技術也沒有白搞,以后還用得著。搞管理可以培養自己的領導能力,搞
    銷售可以培養自己的市場概念和思維,同時為自己以后發展積累龐大的人脈!應該說這才是前途的真正
    支柱!!!   

    [7]逐漸克服自己的心里弱點和性格缺陷!多疑,敏感,天真(貶義,并不可愛),猶豫不決,膽怯,
    多慮,臉皮太薄,心不夠黑,教條式思維。。。這些工程師普遍存在的性格弱點必須改變!很難嗎?只
    在床上想一想當然不可能,去幫朋友守一個月地攤,包準有效果,去實踐,而不要只想!不克服這些缺
    點,一切不可能,甚至連項目經理都當不好--盡管你可能技術不錯!   

    [8]工作的同時要為以后做準備!建立自己的工作環境!及早為自己配置一個工作環境,裝備電腦,示
    波器(可以買個二手的),仿真器,編程器等,業余可以接點活,一方面接觸市場,培養市場感覺,同
    時也積累資金,更重要的是準備自己的產品,咱搞技術的沒有錢,只有技術,技術的代表不是學歷和證
    書,而是產品,拿出象樣的產品,就可技術轉讓或與人合作搞企業!先把東西準備好,等待機會,否
    則,有了機會也抓不住!   

    [9]要學會善于推銷自己!不僅要能干,還要能說,能寫,善于利用一切機會推銷自己,樹立自己的品
    牌形象,很必要!要創造條件讓別人了解自己,不然老板怎么知道你能干?外面的投資人怎么相信你?
    提早把自己推銷出去,機會自然會來找你!搞個個人主頁是個好注意!!特別是培養自己在行業的名
    氣,有了名氣,高薪機會自不在話下,更重要的是有合作的機會...   

    [10]該出手時便出手!永遠不可能有100%把握!!!條件差不多就要大膽去干,去闖出自己的事業,不
    要猶豫,不要彷徨,干了不一定成功,但至少為下一次沖擊積累了經驗,不干永遠沒出息,而且要干成
    必然要經歷失敗。不經歷風雨,怎么見彩虹,沒有人能隨隨便便成功!

    posted @ 2009-12-24 11:27 河馬虎 閱讀(206) | 評論 (0)編輯 收藏

    hibernate use Websphere datasource

    reference  url:
        http://www.ibm.com/developerworks/websphere/techjournal/0609_alcott/0609_alcott.html

    when  webSphere  application server  startup,  hibernate uses  WebSphere datasource.
    step by  step:

         1  coding  statup  constom service

           import javax.management.Notification;
          import javax.management.NotificationFilterSupport;
          import javax.management.NotificationListener;
          import javax.management.ObjectName;
          
          public class WebsphereStartup implements CustomService,NotificationListener {
            public void initialize(Properties arg0) throws Exception {    
               NotificationFilterSupport filter = new NotificationFilterSupport();   
               filter.enableType(NotificationConstants.TYPE_J2EE_STATE_RUNNING);
               ObjectName target = new ObjectName("WebSphere:*,type=Server");   
               AdminServiceFactory.getAdminService().addNotificationListenerExtended(
                target,
                this,
                filter,
                null);
           } 
           public void shutdown() throws Exception {
             // When  was  shutdown,  this  method  is  executed
            
           } 
           public void handleNotification(Notification notification, Object handback) {
             //  write  init  code  here
             init();
           }
          }

         2  modify    hibernate config file  hibernate.cfg.xml

                         <property name="hibernate.connection.datasource">data  source  jndi</property>
                        <property name="hibernate.connection.username">name</property>
                         <property name="hibernate.connection.password">password</property>
                         <property name="hibernate.session_factory_name">HibernateSessionFactory</property>  
                          <property name="connection.autocommit">false</property>
                        <property name="net.sf.hibernate.transaction.JTATransactionFactory">net.sf.hibernate.transaction.WebSphereTransactionManagerLookup</property>
                          <property name="show_sql">false</property>
                         <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>

                  注意:如果是非事務性數據源  那么在hibernate.cfg.xml  必須設置 <property name="connection.autocommit">false</property>
                          為false
                               
         3   create  datasource   jndi  on  was
                 如果是非事務性數據源,在建立數據源時,也要設置為非事務性數據源。
          4    config  custom service  bean  on Websphere
                 was console >servers> application server > server1>manage>custom service >new
           5 start Server

    posted @ 2009-12-18 09:19 河馬虎 閱讀(550) | 評論 (0)編輯 收藏

    WebSphere訪問操作系統中文件 權限問題

    參考:
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rsec_serverpolicy.html

    錯誤信息(在Systemout.Log文件中)
            java.security.AccessControlException: Access denied (java.io.FilePermission  
     解決方法
    修改 server.policy 文件,在 install_root/properties/server.policy 中找到此文件。此文件包含這些缺省許可權:
    // Allow to use ibm jdk extensions
    grant codeBase "file:${was.install.root}/java/ext/-" {
    permission java.security.AllPermission;
    };
    // Allow to use ibm tools
    grant codeBase "file:${was.install.root}/java/tools/ibmtools.jar" {
    permission java.security.AllPermission;
    };
    // Allow to use sun tools
    grant codeBase "file:/QIBM/ProdData/Java400/jdk14/lib/tools.jar" {
    permission java.security.AllPermission;
    };
    // Allow to use sun tools (V5R2M0 codebase)
    grant codeBase "file:/QIBM/ProdData/OS400/Java400/jdk/lib/tools.jar" {
    permission java.security.AllPermission;
    };
    // WebSphere system classes
    grant codeBase "file:${was.install.root}/plugins/-" {
    permission java.security.AllPermission;
    };
    grant codeBase "file:${was.install.root}/lib/-" {
    permission java.security.AllPermission;
    };
    grant codeBase "file:${was.install.root}/classes/-" {
    permission java.security.AllPermission;
    };
    // Allow the WebSphere deploy tool all permissions
    grant codeBase "file:${was.install.root}/deploytool/-" {
    permission java.security.AllPermission;
    };
    // Allow the WebSphere deploy tool all permissions
    grant codeBase "file:${was.install.root}/optionalLibraries/-" {
    permission java.security.AllPermission;
    };
    // Allow Channel Framework classes all permission
    grant codeBase "file:${was.install.root}/installedChannels/-" {
    permission java.security.AllPermission;
    };
    grant codeBase "file:${user.install.root}/lib/-" {
    permission java.security.AllPermission;
    };
    grant codeBase "file:${user.install.root}/classes/-" {
    permission java.security.AllPermission;
    };
    

    如果節點上有一些服務器程序需要許可權,而這些許可權在 server.policy 文件和 server.policy 文件中未定義為缺省值,那么更新 server.policy 文件。缺少許可權將創建 java.security.AccessControlException 異常。缺少的許可權在異常數據中列示。


    然后重新啟動服務器

    posted @ 2009-12-09 17:04 河馬虎 閱讀(1437) | 評論 (0)編輯 收藏

    startup class interface of tomcat \jboss \ webSphere

    1   startup     class      on  jboss
        MBeanRegistration
            or
        ServiceMBeanSupport     和ServiceMBean
    2   startup  class  on Websphere
        customService    interface  (need  com.ibm.ws.runtime.jar )

    3   startup  class  on tomcat 
       ServletContextListener  interface

    posted @ 2009-12-02 16:23 河馬虎 閱讀(239) | 評論 (0)編輯 收藏

    Does WAS6.1 needs stubs for EJB3

    trace: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14023850

    The need to use statically-defined stubs depends only on what kind of client you have; it doesn't depend at all on where the EJB is that you're looking up or invoking. If your client is a WebSphere container that's been upgraded via the EJB 3.0 feature pack, then we have technology in the container itself that will dynamically generate the client-side stub for you in-memory when it's needed, assuming that you at least have the EJB remote interface packaged where the client can access it. So if your client is the WAS web container, EJB container, or application client container and the client environment has had the EJB 3.0 feature pack applied, you should not need to generate or package any client-side stubs with your client. If your client environment is something other than the above, then you will need to generate the client-side stubs with the createEJBStubs tool that comes with the EJB 3.0 feature pack, and package the resulting stubs in your client package. Here's a snippet of the documentation that covers this in more detail:

    Just-In-Time Deployment

    The EJB 3.0 Feature Pack adds a new feature to WebSphere application server called Just-In-Time Deployment. With Just-In-Time Deployment, the EJB container dynamically generates the wrapper, stub, and tie classes in-memory as needed when the application is running. Additionally, the web container and application client containers dynamically generate the stub class required for remote EJB invocations. Effectively, this means that you do not need to process EJB 3.0 modules, web modules that invoke EJB 3.0 beans, or client modules that invoke EJB 3.0 beans, through the EJBDeploy tool prior to running them in WebSphere.

    The createEJBStubs tool

    Even though the Just-In-Time deployment feature will, in many cases, dynamically generate the RMI-IIOP stub classes that are required for invocation of remote EJB interfaces, there remain some cases where these stub classes are not dynamically generated. For EJB 3.0 clients not running inside a WebSphere feature-pack-upgraded web container, EJB container, or client container, it is necessary for you to generate the stub classes with the createEJBStubs tool, then make the generated stubs available in the client environment's classpath. Typically you would accomplish this by copying the generated stubs to the location where the client's business interface class resides.

    To summarize, the createEJBStubs tool must be used to generate client-side stubs for the following environments:

    * "Bare" Java SE clients, where a Java SE JVM is the client environment
    * WebSphere Application Server container environments without the EJB 3.0 feature pack applied
    * Non-WebSphere application server environments

     

    posted @ 2009-11-24 15:46 河馬虎 閱讀(327) | 評論 (0)編輯 收藏

    JDK配置

    1   因為是默認安裝,所以JDK1.5是安裝在C:\Program Files\Java\jdk1.5.0里了。現在為三個變量設值; 
           
             新建 JAVA_HOME      設值     C:\Program Files\Java\jdk1.5.0 
            新建 CLASSPATH    設值     .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar 
            編輯   PATH 設值 ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin 

          注意事項: 

            配置JAVA_HOME變量的作用:JAVA_HOME路徑下包括lib,bin,jre等文件夾,以后配tomcat,eclipse等java開發軟件可能需要依賴此變量。 
           在設置系統變量Path(系統已經有),要注意前面的分號“;”,配置Path的作用:Path使系統可以在任何路徑下識別java命令。 
            在設置系統變量CLASSPATH時,要注意前面的注意前面的“.;”,配置CLASSPATH變量的作用: 為系統指明java加載類(class or lib)的路徑,只有類在classpath中,java命令才能識別,其中,%JAVA_HOME%就是引用前面指定的JAVA_HOME。
           用戶變量的設置必須注銷重登錄后才起作用,但是當本次配置中所有環境變量都是系統變量,而設置系統變量的則不用。

    2.    測試JDK1.5的環境變量是否配置成功。
       “開始”->“運行”,鍵入“cmd”進入命令提示符下,鍵入命令“java -version”,出現如下信息,說明環境變量配置成功:
    java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

    3. 用一個小程序測試JDK1.5是否能成功運行JAVA程序。
       現在我們編輯一個java小程序,然后進行測試。現在我們就直接在C盤建一個“Hello.java”的文件吧,并記事本打開它,在它里面輸入如下代碼: 
        

    posted @ 2009-11-02 11:48 河馬虎 閱讀(131) | 評論 (0)編輯 收藏

    英語口語100句

     Any day will do? 哪一天都可以?
     
    Are you by yourself? 你一個人來嗎?
       Any messages for me? 有我的留言嗎?
      All right with you? 你沒有問題吧?
      Are you free tomorrow? 明天有空嗎?
      Are you kidding me? 你在跟我開玩笑吧?
      As soon as possible! 盡可能快!
      Back in a moment! 馬上回來!
      Believe it or not! 信不信由你!
      Better luck next time! 下次會更好!
      Boy will be boys 本性難移!
      Come to the point! 有話直說!
      Do you accept plastic? 收不收行用卡?
      Does it keep long? 可以保存嗎?
      Dont be so fussy! 別挑剔了!
      Dont count to me! 別指望我!
      Dont fall for it! 不要上當!
      Dont get me wrong! 你搞錯了!
      Dont give me that! 少來這套!
      Dont let me down! 別讓我失望!
    Dont lose your head! 別樂昏了頭! 
     Dont over do it! 別做過頭了!
      Dont sit there daydreaming! 別閑著做白日夢!
      Dont stand on ceremony! 別太拘束!
      Drop me a line! 要寫信給我!
      Easy come easy go! 來得容易去得也快!
      First come first served! 先到先得!
      Get a move on! 快點吧!
      Get off my back! 不要嘲笑我!
      Give him the works! 給他點教訓!
      Give me a break! 饒了我吧!
      Give me a hand! 幫我一個忙!
      Great minds think alike! 英雄所見略同!
      Ill treat you to lunch. 午餐我請你!
      In one ear, out the other ear. 一耳進,一耳出!
      Im spaced-out! 我開小差了!
      I beg your pardon! 請你再說一遍!
      I cant afford that! 我付不起!
      I cant follow you! 我不懂你說的!
      I cant help it! 我情不自禁!
      I couldnt reach him! 我聯絡不上他!
      I cross my heart! 我發誓是真的!
      I dont mean it! 我不是故意的!
     I feel very miserable! 我好沮喪!  I have no choice! 我別無選擇了!
      I watch my money! 視財如命!
      Ill be in touch! 保持聯絡!
      Ill check it out! 我去看看!
      Ill show you around! 我帶你四處逛逛!
      Ill see to it! 我會留意的!
      Im crazy for you! 我為你瘋狂!
      You make me jump! 你嚇了我一跳!
      Make up your mind. 作個決定吧!
      Make yourself at home! 就當在家一樣!
      My mouth is watering! 我要流口水了!
      Never heard of it! 沒聽說過!
      Nice talking to you! 很高興和你聊天!
      No doubt about it! 勿庸置疑!
      No pain no gain! 不經一事,不長一智!
      None of your business! 要你管?
      There is nothing on your business! 這沒你的事!
      Now you are really talking! 說得對!
      Please dont rush me! 請不要吹促我!
      Please keep me informed! 請一定要通知我
    She looks blue today. 她今天很憂郁!  She is under the weather. 她心情不好!
      So far, so good. 過得去。
      Speaking of the devil! 一說曹操,曹操就到!
      Stay away from me! 離我遠一點!
      Stay on the ball! 集中注意力!
      That makes no difference. 不都一樣嗎?
      Thats a touchy issue! 這是個辣手得問題!
      Thats always the case! 習以為常!
      Thats going too far! 這太離譜了!
      Thats more like that! 這才象話嘛!
      The answer is zero! 白忙了!
      The dice is cast! 已成定局了!
      The same as usual! 一如既往!
      The walls have ears! 隔墻有耳!
      There you go again! 你又來了!
      Time is running out! 沒有時間了!
      We better get going! 最好馬上就走!
      Well discuss it later! 回頭再說吧!
      Well find out shortly! 我們很快就知道了!
      We are all for it! 我們全都贊成!
      Weve been expecting you! 我們正等著你呢!
      What a good deal! 真便宜!
      What a let down! 真令人失望!
      What do you figure? 你有什么想法?
      What happened to you? 你怎么了?
      What should I do? 我應該怎樣做?
      Whats would you recommend? 你有何意見?

    posted @ 2009-10-30 15:55 河馬虎 閱讀(158) | 評論 (0)編輯 收藏

    JDIC-JDesktop Integration Components (JDIC)

    JDIC-JDesktop Integration Components (JDIC)

    JDIC主頁:
    http://javadesktop.org/articles/jdic/index.html
    JDIC作用:
  • Embedding HTML content
  • Starting desktop file viewers on content unknown to the browser
  • Sending e-mail using the desktop mailer via mailto: URLs
  • Dispatching URLs into new browser instances
  • posted @ 2009-10-27 08:40 河馬虎 閱讀(138) | 評論 (0)編輯 收藏

    僅列出標題
    共4頁: 上一頁 1 2 3 4 下一頁 
    主站蜘蛛池模板: 久久丫精品国产亚洲av| 亚洲欧美日韩中文二区| 未满十八18禁止免费无码网站| 亚洲精品无码专区久久| 亚洲男人的天堂在线| 亚洲天天做日日做天天看| 国产国拍精品亚洲AV片| 国产亚洲日韩一区二区三区| 亚洲精品无码成人片在线观看| 亚洲人成电影网站免费| 国产一区二区三区免费看| 国产真人无码作爱免费视频| 天堂亚洲免费视频| 国产精品亚洲二区在线观看| 最近2019中文字幕mv免费看| 国产精品久久久久久久久久免费| 青青青青青青久久久免费观看| 四虎影库久免费视频| 免费看片在线观看| 又粗又大又长又爽免费视频| 亚洲AV美女一区二区三区| 激情综合亚洲色婷婷五月APP| 鲁啊鲁在线视频免费播放| 亚洲 欧洲 日韩 综合在线| 一级女性全黄久久生活片免费 | 天堂亚洲国产中文在线| 免费精品久久天干天干| 黑人粗长大战亚洲女2021国产精品成人免费视频 | 亚洲精品伊人久久久久| 中文字幕免费在线视频| 人禽伦免费交视频播放| a级日本高清免费看| 日韩色视频一区二区三区亚洲| 亚洲乱码一二三四区乱码| 日本视频免费在线| 猫咪社区免费资源在线观看 | 亚洲精品色播一区二区| 国产AV无码专区亚洲精品| 免费国产va在线观看| 国产亚洲精品无码拍拍拍色欲| 亚洲永久网址在线观看|