摘要: play! framework 是最近出的一個號稱 rails-like 的 java web 開發框架,blogjava有些博友也發表了一些blog來宣傳。這兩天“在海灘上”,就花了一些時間讀了一下play! 的源代碼,有些心得體會。特別是對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 這一塊的實現代碼。結果,真相揭曉了,不存在魔術。
閱讀全文