开发者

How conversation scope in implemented in CDI?

It is done through some session key that holds so开发者_StackOverflow社区me structure?


CDI is a specification, so the conversation scope is only specified, not implemented. Different implementors may decide on different strategies. Currently there are three - Weld, OpenWebBeans and CanDI. I don't know how it is implemented, but there aren't many ways - using the session in some way is most likely.

see this tutorial


It's better to use portable CDI extensions like MyFaces CODI!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜