开发者

How conversation scope in implemented in CDI?

开发者 https://www.devze.com 2023-01-10 13:41 出处:网络
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

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

精彩评论

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