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.
EL でバッキング Bean をラップせずにステートレス セッション Bean のメソッドを呼び出す可能性はありますか? メソッド呼び出しをバッキング Bean でラップすると、冗長なコードが生成され、すべてのメソッドをラップする必要があるため、BU の実行が面倒になります。
CDI で注釈を付けることができます@Named。
@Named
例えば
@Named @Stateless public class FooService { // ... }
デザインの妥当性が疑わしい。それは私見タイトカップリングです。このアプローチは、せいぜい非常に小さな Web アプリケーションまたは迅速なプロトタイピングに使用します。