Archive for December, 2005

When Christmas Comes to Town

Wednesday, December 21st, 2005


WHEN CHRISTMAS COMES TO TOWN

(Glen Ballard / Alan Silvestri)

Matthew Hall & Meagan Moore

La la la la …
I’m wishing on a star
And trying to believe
That even though it’s far
He’ll find me at Christmas Eve
I guess Santa is busy
Cause he never comes around
I think of him when Christmas comes to town

The best time of the year
When everyone comes home
With all this Christmas tear
It’s hard to be alone
Putting up the Christmas tree
With friends you come around
It’s so much fun when Christmas comes to town

Presents for the children wrapped in red and green
All the things I’ve heard about, but never really see
No one will be sleeping on the night of Christmas Eve
Hoping Santa’s on his way

Presents for the children wrapped in red and green
All the things I’ve heard about, but never really see
No one will be sleeping on the night of Christmas Eve
Hoping Santa’s on his way

When Santa’s sleigh bells ring
I listen all around
The herald angels sing
I never hear a sound
And all the dreams of children
Once lies will all be found
That’s all I want when Christmas comes to town
That’s all I want when Christmas comes to town

noob noob

Friday, December 2nd, 2005
今天彻底败给linux的包依赖了。。。。
我就想给我的小fedaro core4升级一下firefox1.5版,本来想用yum就万事大吉了,结果今天网络不稳定,yum也罢工了。。。郁闷第一下。

所幸yum也不是第一次罢工了。。。手动升级rpm包到也不是一件麻烦的事情。。。于是我就跑到geekbone上down了一个firefox1.5的rpm。输入命令安装。。。。结果如下:
[root@wmfc4 firefox install]# rpm -hiv firefox-1.5-1.i386.rpm
error: Failed dependencies:
        nspr >= 4.6 is needed by firefox-1.5-1.i386
        libcairo.so.2 is needed by firefox-1.5-1.i386
        libc.so.6(GLIBC_2.4) is needed by firefox-1.5-1.i386
        libpangocairo-1.0.so.0 is needed by firefox-1.5-1.i386

郁闷一下,还有这么多包要装,好麻烦。算算还需要下4个包。。。下下下。
cairo-1.0.2-3.i386.rpm
glibc-2.3.90-18.i386.rpm
glibc-common-2.3.90-18.i386.rpm
nspr-4.6-4.i386.rpm

还好都不大,最大的也就10多兆。cairo很好装。。。
装glibc 和 glibc-common的时候最郁闷。。。居然告诉我是相互制约的。不过还好,修改了一下rpm命令,就搞定了。
[root@wmfc4 firefox install]# rpm -U glibc-common-2.3.90-18.i386.rpm
warning: glibc-common-2.3.90-18.i386.rpm: Header V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
        glibc < 2.3.90 conflicts with glibc-common-2.3.90-18.i386
        glibc-common = 2.3.5-10 is needed by (installed) glibc-2.3.5-10.i686
[root@wmfc4 firefox install]# rpm -U glibc-2.3.90-18.i386.rpm
warning: glibc-2.3.90-18.i386.rpm: Header V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
        glibc-common = 2.3.90-18 is needed by glibc-2.3.90-18.i386
        glibc > 2.3.5 conflicts with glibc-common-2.3.5-10.i386
        glibc = 2.3.5-10 is needed by (installed) glibc-headers-2.3.5-10.i386
        glibc = 2.3.5-10 is needed by (installed) glibc-devel-2.3.5-10.i386
        glibc = 2.3.5-10 is needed by (installed) glibc-utils-2.3.5-10.i386

最后还需要装pango,最郁闷的来了。。。。居然还有这么多依赖。。。
[root@wmfc4 firefox install]# rpm -U pango*.rpm
error: Failed dependencies:
        libX11 is needed by pango-1.11.0-1.i386
        libXext is needed by pango-1.11.0-1.i386
        libXft is needed by pango-1.11.0-1.i386
        libXrender is needed by pango-1.11.0-1.i386
        cairo-devel >= 0.9.2 is needed by pango-devel-1.11.0-1.i386
        libX11-devel is needed by pango-devel-1.11.0-1.i386
        libXext-devel is needed by pango-devel-1.11.0-1.i386
        libXft-devel is needed by pango-devel-1.11.0-1.i386
        libXrender-devel is needed by pango-devel-1.11.0-1.i386

然后我就下阿下阿,把所有rpm都下载下来。可怕的事情出现了。。。
运行[root@wmfc4 firefox install]# rpm -U pango*.rpm的时候,居然出现满屏的包依赖。哦,不,是很多屏。

@_@

这时候重新运行了一下yum, 居然可以用了。赶紧update一下xorg-x11-devel这个包,居然连带升级了18个包.。>.<

到目前为止,我手动下载的加上yum下载的更新包大概有不到50个。。。。
ftftft!!!!
关键是。。。。。firefox还是不能升级,因为还少包 *_*

Finally, SCA comes out!

Friday, December 2nd, 2005
IBM jsut delivered two specifications for building systems that use a Service-Oriented Architecture (SOA), which aim to provide developers with simpler and more powerful ways of constructing applications based on SOA: Service Component Architecture (SCA) and Service Data Objects (SDO).

You can find some detail info from this link:
http://www-128.ibm.com/developerworks/library/specification/ws-sca/
http://www.theserverside.com/news/thread.tss?thread_id=37859
The key words are:
Service Component Architecture (SCA)
Service Data Objects (SDO)
Business Objects (BO)

I have worked with SCA for much more than one year. I feel it is a elegant way to implement your own enterprise application. The dev only need to focus on the requirement, and provide a service component. And this component can be used by any other component. SCA provide several kind way for the invocation. The SCA’s implementation can be many type, SDO、WSDL、EJB、BPEL、JAVA、POJO. SCA can be invoked as a Web Service. And it can invoke a EJB, Web Service, any other SCA component…..
So many benefit need you to discovery… Read it, and "Enjoy the word of SCA"~