摘要: play! framework 是最近出的一個(gè)號(hào)稱 rails-like 的 java web 開(kāi)發(fā)框架,blogjava有些博友也發(fā)表了一些blog來(lái)宣傳。這兩天“在海灘上”,就花了一些時(shí)間讀了一下play! 的源代碼,有些心得體會(huì)。特別是對(duì)play! 宣稱的“Edit your Java files, save, refresh your browser and see the results! No need to compile, deploy or restart the server”功能非常感興趣,于是著重看了 play! 在 hot swap 這一塊的實(shí)現(xiàn)代碼。結(jié)果,真相揭曉了,不存在魔術(shù)。
閱讀全文