Dennis 的無差別 Blog | I thought what I’d do was, I’d pretend I was one of those deaf-mutes

TAG | Java

Sep/09

10

最近都在寫 C#

唔係好習慣, 特別係 naming 同 IDE 嘅用法。始終 Eclipse 實在太好用啦。

的確 C# 係 language 同 syntax 上面都比 Java 先進,不過個 VS 實在太大食,而且個 Internet 同部機實在太慢啦!!

I miss Eclipse, 我每日至少會講一次

好在我重未老,學習能力同上手能力都依然好高。但係個 Internet 同部機實在太慢啦 (x2)

Java 7 聽左咁耐,都唔知幾時先至有。但另一邊 C# 4.0 好快接近。我係唔係要改我自己嘅 major language 呢?

或者 Ruby?, Python?, JavaFX? 定係 Android? Java ME? 甚至 C++ 呢?

, , , , Hide

Jun/09

27

Eclipse VE 復活!?

Life’s Passion » Blog Archive » Eclipse VE gets revived!.

Welcome back of VE in Eclipse stream after more than two years’ sleeping

, , Hide

It is good for “classic Web development” to “Web 2.0 development”. It is not for moving from fat client/server  application to web based application.

It cannot not do persistent, share, or collaboration without a server. You always need (at least) one server unless a classic client/server fat application.

- “database” in Gears is a rich replacement of cookie, by using of sqlite
- GWT is “Java like syntax”, it is not Java. You cannot migrate your swing application to GWT. You can only share these soruce code in very very extreem cases.

From my point of view, RIA / AJAX are hot because they can  provide Rich user interface and can save some development time on “supporting function”.

AJAX Web application can help you that do a 3-tear application, rather a 4-tear application.

e.g.
old 4-tear :
Browser HTML <-> web app (control of GUI here)<-> web services <-> databases
AJAX 3-tear :
Browser AJAX/RIA <-> web services <-> databases

Programmers can spend less time on fighting with broad width, HTTP 1.1 specification, browser compatibility.

, , Hide

Sun Microsystems to cut up to 6,000 jobs – Nov. 14, 2008.

NEW YORK (CNNMoney.com) — Software and computer networking company Sun Microsystems, Inc. announced Friday it will cut up to 18%, or 6,000, of its staff in a cost-cutting move.

放一陣子看看另外幾大巨頭會不會也 cut jobs 吧

Google, Microsoft, IBM, Yahoo, …etc

, Hide

Nov/08

11

My comment on JavaFX

10 years before, Sun was too early to press RIA with Applet.
10 years after, Sun was too late to press RIA with JavaFX.

I don’t think I’ll use JavaFX. And I don’t think it will not be a success RIA.
But I think that Sun can try. JavaFX will benefit feature improvement on Swing/JMF.

JavaFX will be useful, IF it is the widely used in Netbeans it self.
They will find what’s the problem with it and fix it.

We will have a standard of describe the GUI in Java (even if another JSR to replace the JavaFX later).

JavaFX is “programming” the GUI. but not simply describe it statistically.

Personally, I prefer something like XUL even XAML over JavaFX.
I don’t see how JavaFX can abstract the UI to “any implementation”.

There is an implementation that can almost render XAML in Swing and SWT already.


Please correct me if I wrong.
Is JavaFX Script more like “the ActionScript in Flash”, but it isJava rather then ECMAScript ?

, , Hide

Oct/08

30

Effective Java – 2nd Edition

Effective Java的圖像
Effective Java – 2nd Edition

很久以前好像看過一次 1st edition。上上周0從 HKPL 借來,放了一個多星期沒有碰,這兩天有空就很快的把這本書看完了(Because I have to return it this weekend)。其實內容很多都是我很早就知道的東西,所以沒仔細看,把大多細字都跳過,只讀 subject, bold statement 和 summery 其實已經很足夠。(不過應該只限本來就很熟的人才可以這樣做)

始終這本書都比較中階入門級,沒有很廣泛很深入的去說明其他不同的場合的應對方式。

……..不知有沒有一本相對的書是說 C#? Effective .NET?

, , Hide

Jul/08

28

網摘: Immutability in Java

很久沒 quote Java 的東東了

Part 1 on Immutability in Java:
http://jeremymanson.blogspot.com/2008/04/immutability-in-java.html

Part 2 on Immutability in Java:
http://jeremymanson.blogspot.com/2008/07/immutability-in-java-part-2.html

Part 3 on Immutability in Java – Deserialization and Reflection:
http://jeremymanson.blogspot.com/2008/07/immutability-in-java-part-3.html

 

 

重點是, final 是必需的。之前的 Javaspeciallist 的文章有有提到。final 的功用不但會限制寫入和方便 inner class 存取而已,它會影響 Just-In-Time compiler 的行為,和防止它作出過份優化而引起的錯誤。

該記著,JRE 不是一行一行執行你的 code(那只會在 debugger發生),而且在 JIT 在 SMP 的情況下會令到 bytecode 執行次序更加難以估計。該加上 final / violate 地方不要偷懶。

, Hide

Older posts >>

Theme Design by devolux.org