五一長(zhǎng)假歸來(lái),習(xí)慣的在http://www.theserverside.com/上瀏覽新聞,看到java EE 5規(guī)范在5月1日全票通過(guò)正式發(fā)布了(Java EE 5 passes - ready, set, code!)。由此想到國(guó)外的勞動(dòng)者們,為了促使Java EE 5規(guī)范早日誕生,甘愿放棄享受國(guó)際勞動(dòng)者們自己的節(jié)日,任勞任怨的跑來(lái)辛勞的開會(huì)表決,我感動(dòng)萬(wàn)分,無(wú)以言表。
這則新聞在theserverside上立即引來(lái)了眾多Javaer的各種評(píng)論,隨便翻了翻到也有點(diǎn)收獲。不過(guò)自己對(duì)Java EE 5規(guī)范的橫空出世倒是沒有什么很大的觸動(dòng)。在開源社區(qū)一片繁榮的今天,非凡是在EJB成為眾矢之的以后,民間的力量仿佛完全可以替代官方的權(quán)威。沒有Java EE 5規(guī)范,我們使用著N多開源框架拼接起來(lái)的“大容器”,也過(guò)上了輕量級(jí)的生活。沒有Java EE 5規(guī)范,我們使用著“老”技術(shù),雖然沒有很cool的新特性,倒也過(guò)得安閑。
來(lái)看下官方是怎么來(lái)定位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規(guī)范描述的藍(lán)圖是非常的美妙,這其中仿佛也受到了RoR這只“偶像派”黑馬的啟發(fā)——把減輕開發(fā)復(fù)雜度作為首任。從規(guī)范中可以看到,它從民間的開源社區(qū)中吸取了不少東西融入到自身當(dāng)中,這是一個(gè)讓人興奮的現(xiàn)象。這也許能讓它功成名就,但是官方的腳步仿佛總是比“時(shí)尚”慢半拍,而且剛剛誕生的它,尚缺少?gòu)S商和開源社區(qū)支持。在這瞬息萬(wàn)變的世界里,誰(shuí)知Java EE 5規(guī)范的前途如何呢?
我們拭目以待。
新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注