五一長假歸來,習慣的在http://www.theserverside.com/上瀏覽新聞,看到java EE 5規范在5月1日全票通過正式發布了(Java EE 5 passes - ready, set, code!)。由此想到國外的勞動者們,為了促使Java EE 5規范早日誕生,甘愿放棄享受國際勞動者們自己的節日,任勞任怨的跑來辛勞的開會表決,我感動萬分,無以言表。
這則新聞在theserverside上立即引來了眾多Javaer的各種評論,隨便翻了翻到也有點收獲。不過自己對Java EE 5規范的橫空出世倒是沒有什么很大的觸動。在開源社區一片繁榮的今天,非凡是在EJB成為眾矢之的以后,民間的力量仿佛完全可以替代官方的權威。沒有Java EE 5規范,我們使用著N多開源框架拼接起來的“大容器”,也過上了輕量級的生活。沒有Java EE 5規范,我們使用著“老”技術,雖然沒有很cool的新特性,倒也過得安閑。
來看下官方是怎么來定位Java EE 5的:
The focus of Java EE 5 is ease of development. To simplify the development PRocess for programmers just starting with Java EE, or developing small to medium applications, we’ve made extensive use of Java language annotations that were introdUCed by J2SE 5.0. Annotations reduce or eliminate the need to deal with Java EE deployment descriptors in many cases. Even large applications can benefit from the simplifications provided by annotations.
One of the major uses of annotations is to specify injection of resources and other dependencies into Java EE components. Injection augments the existing JNDI lookup capability to provide a new simplified model for applications to gain access to the resources needed from the Operational environment. Injection also works with deployment descriptors to allow the deployer to customize or override resource settings specified in the application’s source code.
可見Java EE 5規范描述的藍圖是非常的美妙,這其中仿佛也受到了RoR這只“偶像派”黑馬的啟發——把減輕開發復雜度作為首任。從規范中可以看到,它從民間的開源社區中吸取了不少東西融入到自身當中,這是一個讓人興奮的現象。這也許能讓它功成名就,但是官方的腳步仿佛總是比“時尚”慢半拍,而且剛剛誕生的它,尚缺少廠商和開源社區支持。在這瞬息萬變的世界里,誰知Java EE 5規范的前途如何呢?
我們拭目以待。
新聞熱點
疑難解答