Friday, February 23, 2007

初二乡间游

农历初二,一如往常,阖家齐归母亲娘家。烈日当空,心情却好。行程30几里,车程20多分钟,路途多经马来乡村,一有不慎可撞及鸡狗牛羊。可怕之处在于,自小听说在马来乡村出事,只要肤色不对,错就在于你。虽不曾亲生经历,乃人云亦云,但报章上激烈的、偏激的言语往往提醒我此事亦可真。
天使亦能成魔鬼,此言不虚,因人有数旬,除了“根本”的思想外,多数的想法皆随光阴而变更。只要资讯与思考方式的组合不对,火车就掉了轨道。马来乡村内人人样子和蔼可亲,行事懒懒散散(车子龟速行驶是个例子),但当炸药点着了,那爆炸的威力非人可阻。中下层无力出国的本土中华子民最可悲,往往是牺牲者,1998年印尼暴行至今难忘,魔鬼的杰作仍令人惊心动魄。

此行女友第一次随行。往年在那儿有如木人,长辈过老,晚辈过嫩,人头处处却无人可倾谈。可喜此次不同以往,女友随行,能与她在个角落恩恩爱爱、窃窃私语。不过当天也让自己逊了一把,外婆赏了我一颗椰,要我自个儿剖,费尽牛力、剖得好辛苦还久不见洞。外婆看不过眼,年过7旬的她接过刀子与椰,砍了两三下后那型就出来了,我这青年还不如她啊!无论如何,她留了三分的工作给我----挖出洞口。我费了一番劲方弄出了个小洞来。喝着椰水,心底欣慰年迈的外婆还是那么的硬朗,我相信乃拜早年困苦的生活所赐,加上近年来适当的劳动,方锻炼了外婆的身躯。要知道,她可需要割胶及拾水果呢。他们那代困苦过了,总希望下一代轻轻松松赚大钱,殊不知下一代的晚年可有这么健康否?!

临近晚餐时间,吾与女友于屋外散布。乡间摩托车好多,特色是少见友族。我们走得并不自在,皆因摩托车川流不息,不仅污染了清新的空气,也让行人历经风险。但是他们并没犯规,所以我们也尽快地返回屋内。国内这样的华人新村不知所剩多少,在年轻一代都受到更多地教育后,多数都选择了往大都会发展,留守新村的通常都是中年人士或老年人,因新村人多从事农业,工作上的选择并不多,此乃情有可原。否极泰来,吾相信总有一天年轻人还是会回流的,事物总是在圈子内流转,好让阴阳稳定,维持道之运转。但人们相信农业能提供一番出路后,将会有人重新投入此业。

我走得并不尽兴,所以开车去巡一巡,看看有何新鲜之物。正巡着当儿,见到了一间好漂亮的神庙,除了拥有各个神庙皆有的神殿外,其旁还有一个小型公园,立了不少的雕塑,还有个小小鱼池,走在里面凉意遍遍,午间的酷热随风而去。走没多久,亲人打来通知晚餐时间到,唯有匆匆而去。

岂知父母有心拜祭此庙神明,晚餐后我又回到了原地。在灯光的衬托下,那些雕塑显得更养眼了。吾特拍了数照,于此分享。


鱼池旁的观世音菩萨雕像。池上有人造瀑布。水不停地流转,风生水起。雕塑旁种有杨柳,以伴菩萨。


池内鲤鱼条条肥大,正在畅游。



Great Ang Pau!

I received a great Ang Pau this Chinese New Year. It's given by Public Mutual! Wahaha! All Public Mutual funds that i bought grow crazily and one of them even achieved 26.07% of return rate so far! Man, it's not even one year yet! All my clients as well earning big Ang Pau. I can sense the happiness from them as i am having the same one! I will continue to monitor & survey to gain more profit for me & my clients. Yahoo...

Mean while, the 2 stocks i bought have become my Fortune God! One of them even achieved 27.94% of return rate per year!!! This is so great. I am happy i manage to achieve Warran Buffett's target! Well, a bit disappointed as the total amount i earned still not very large. My initial investment amount is too little. Sigh, that's why rich guys earn faster! They can afford to put in a huge amount of money and earn the huge return if they success their investment!

Anyway, thanks Fire Pig(Chinese Master Horoscope for this year) for giving me such a reward. I will continue to cultivate my skill at Financial side to earn me a better living in future. I really hope i do not work blindly for my boss only. I wish to be someone useful for society, not a donkey/dog for my boss. Sorry boss, you can't stop people from chasing their dream, anyway, i shall work hard for my boss as that is my responsibility.

Friday, February 16, 2007

Web Service at JRun 4

Would like to share my way of developing web service & testing it at JRun4 Web Server. I assume you know the concept of web service as this tutorial is specific to web service running on JRun web server. Also i assume you have already known how to use the Eclipse Web Service function which allows you to generate web service related files within a few seconds.

  1. To publish a web service at JRun 4 is very simple, what you need to do is to only create the "wsdd"(web service deployment descriptor) file and place it under your "PROJECT_HOME/WEB-INF/" folder.
  2. Start JRun server for your project. Create WSDL file by just running your project's web service's URL appended with '?WSDL'. For e.g (http://localhost:8103/services/ProgramWs?WSDL). For this case, "http://localhost:8103/services/ProgramWs" is the path to test the validity of web service ProgramWs.
  3. Using the generated WSDL file, go to command prompt, go to your WSDL location, run this command (before that, make sure that you have set JRUN_HOME/bin to your environment path) wsdl2java xxx.wsdl d:/ where xxx.wsdl is your wsdl file while d:/ is the output directory of the generated java classes. Thus, the bean object will be generated. What you need to do now is to replace your original bean object with it. For e.g. Your web service is about to get all programs of an institution, you will have a "getPrograms()" method which returns an array of Program bean object. So just replace this Program object with the auto-generated one which contains additional code for the web services.