开发者

EJB @Stateless + Seam @Scope(ScopeType.CONVERSATION) = @Stateful?

Im a new SEAM developer and for sure im really enjoyin开发者_如何学Cg the platform.

im wondering wether a stateless session bean plus conversation scope has the same semantic by stateful session bean ?

the EJB Client in this context is the seam, right ? so using conversation scope, the ejb bean used by the client ( seam component ) will be the same during the conversation, this way the state will be preserved until the conversation finish.

is it correct ?


No. Stateless session beans always live in the stateless context.


I think Stateless session bean is always in Stateless scope, no way to set to Conversation scope.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜