Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Springにも同様の質問があります。
しかし、JBoss Seam についてはどうですか。開発中のアプリケーションに関する提案が必要です。
特定のバージョン情報が必要な場合は、
永続化コンテキストに関連する seam のドキュメントを確認してください。
http://docs.jboss.org/seam/2.2.0.GA/reference/en-US/html/persistence.html#persistence.seam-managed-persistence-contexts
基本的に、永続コンテキストを seam に登録し、Bean に EntityManager を注入します。@Begin アノテーション (@Begin および @End は会話を制御します) で flushMode を設定することにより、複数の要求にわたってセッションを開いたままにするために、コンテキストを会話に関連付けることができます。