JSF Application in Just Two Clicks | IntelliJ IDEA Blog

I must note that there are some prerequisites, though:
1.A Web Module that is used to host the Persistence Unit
2.Persistence Unit that is used to encapsulate the database access

このいっとう最初をどうしたらいいか随分悩んだんだが,答えは簡単.WARファイル中にもPersistence Unitは置けるようだ.

ただ,WARファイル中のPersistence Unitの書き方がよーわかっとらんので,デプロイしてもうまくEntityManagerが取得できなかった.それはそれとして,ManagedBeansから直接エンティティを操作するよりは,SessionBeans経由のほうがEJB3っぽいんでないだろうか?
#なんにしろ,IDEA6のEJB3サポートはまだまだだ.