JSF 2.0 draft


JSF2.0のドラフトがそろそろ考えられているみたい。

以前にmyfacesのMLで2.0にするならどんなのが欲しい?ってJSF1.1のSpecLeadの

EdBurnsが言ってたので結構ぶちまけたら、ちゃんと次のアイデアに入ってるかも。


あと、そのほかにも結構な驚きが。

驚きその1.JSF2.0ではコンポーネントのHotDeployが仕様で入りそうです。詳細はまだわからないけど。

驚きその2.TapestryのHLSさんがJSF2.0の仕様策定に参加しそう。今声をかけている模様。
      JSFを相当嫌ってたので、さてどうなることやら。


驚きはないけど、Ajax対応をもっと強化するために、Dojoの人とかが参加してたり。


でも一番の問題はこの仕様がいつ出てきて、いつになったら実装が出てくるのかなんだけどね。


(追記)
ちらっと読んでみた。

・Make it easy to expose your data by leveraging the Java Persistence API
 JPAとの親和性は重要なんですね。


・ゼロ設定ファイル、だけどアノテーション必要みたい


・Provide default exception handling mechanisms. エラーハンドリング機能。あー、ようやく追加になったぽい。


・All the artifacts that comprise a JSF application can be modified while the application is running.
 これが多分HotDeployって言ってる模様。


・Allow for bookmarkable JSF pages. More broadly, if HTTP GET can be used, it should be used.
 GETが普通に使えるように。


・Strategic additions to the Standard HTML RenderKit: Calendar, Tree, Tab View, Captcha, Login Panel, File Upload components.
 デフォルトでCalendar、Treeなどをつけるそう。これはどうかねえ。。。


・Provide a mechanism to minimize the "Lost Update" and "Duplicate Button Press" problems.
 これは仕様のレベルであったほうがいいかも。ほとんどの場合欲しいし。


・Saving and restoring page deltas rather than saving and restoring the full view state each time.
 差分でPageの状態を抑えられる。パフォーマンス的には重要。


・Re-do UIComponent state saving with a view towards making stateless components the default.
 Componentの状態はデフォルトステートレスになる。


・Streamline the rendering process via caching if possible.
 レンダリング部分のキャッシュ機構


・RESTサポート?


・Support for passing values from page to page. This will be a standardization of the many different Dialog/Conversation/Scope/Flash ideas currently in use.
まあ予想はできたけど、Scopeの充実。ほとんどShaleSeamじゃんw


・JavaEE6に同梱したいみたい。


id:yokoletさんもJSF2.0について言及してますね。しかも非常にdetailまで書いてあるので参考になります。