user253202
user253202

Reputation:

How conversation scope in implemented in CDI?

It is done through some session key that holds some structure?

Upvotes: 2

Views: 623

Answers (2)

Peter
Peter

Reputation: 69

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

Upvotes: 2

Bozho
Bozho

Reputation: 597076

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

Upvotes: 2

Related Questions