birt ----- report tool
內容包括:introduction(簡介) , download(下載),install(安裝指南) , tutorial(教程),faq等
2、下載,到http://download.eclipse.org/birt/downloads/ 可以一一下載
該工具做中國式報表很不錯
posted @ 2009-12-30 09:59 河馬虎 閱讀(194) | 評論 (0) | 編輯 收藏
隨筆 - 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 河馬虎 閱讀(194) | 評論 (0) | 編輯 收藏 如何做需求?需求要做的事情: posted @ 2009-12-30 09:41 河馬虎 閱讀(183) | 評論 (0) | 編輯 收藏 一個美國老工程師的心理話: 給年輕工程師的十大忠告一個美國老工程師的心理話: 給年輕工程師的十大忠告[1]好好規劃自己的路,不要跟著感覺走!根據個人的理想決策安排,絕大部分人并不指望成為什么院 [2]可以做技術,切不可沉湎于技術。千萬不可一門心思鉆研技術!給自己很大壓力,如果你的心思全 [3]不要去做技術高手,只去做綜合素質高手!在企業里混,我們時常瞧不起某人,說他“什么都不 [4]多交社會三教九流的朋友!不要只和工程師交往,認為有共同語言,其實更重要的是和其他類人物 [5]知識涉獵不一定專,但一定要廣!多看看其他方面的書,金融,財會,進出口,稅務,法律等 [6]抓住時機向技術管理或市場銷售方面的轉變!要想有前途就不能一直搞開發,適當時候要轉變為管 [7]逐漸克服自己的心里弱點和性格缺陷!多疑,敏感,天真(貶義,并不可愛),猶豫不決,膽怯, [8]工作的同時要為以后做準備!建立自己的工作環境!及早為自己配置一個工作環境,裝備電腦,示 [9]要學會善于推銷自己!不僅要能干,還要能說,能寫,善于利用一切機會推銷自己,樹立自己的品 [10]該出手時便出手!永遠不可能有100%把握?。。l件差不多就要大膽去干,去闖出自己的事業,不 posted @ 2009-12-24 11:27 河馬虎 閱讀(212) | 評論 (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 posted @ 2009-12-18 09:19 河馬虎 閱讀(556) | 評論 (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 河馬虎 閱讀(1446) | 評論 (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 河馬虎 閱讀(245) | 評論 (0) | 編輯 收藏 JDK配置
1 因為是默認安裝,所以JDK1.5是安裝在C:\Program Files\Java\jdk1.5.0里了?,F在為三個變量設值;
新建 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小程序,然后進行測試?,F在我們就直接在C盤建一個“Hello.java”的文件吧,并記事本打開它,在它里面輸入如下代碼: posted @ 2009-11-02 11:48 河馬虎 閱讀(136) | 評論 (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 河馬虎 閱讀(164) | 評論 (0) | 編輯 收藏 JDIC-JDesktop Integration Components (JDIC)JDIC-JDesktop Integration Components (JDIC)JDIC主頁:
http://javadesktop.org/articles/jdic/index.html JDIC作用: posted @ 2009-10-27 08:40 河馬虎 閱讀(143) | 評論 (0) | 編輯 收藏 |
|