开发者

Inject CDI Session Bean in Servlet

I'm getting in my project inject (@ Inject) CDI Beans scopes Request and Session in a servlet. The problem is that for session beans CDI I'm not getting that states remain. I try to modify the state of the bea开发者_开发技巧n from my servlet but when I try to recover from a page is as if the servlet had failed to change state. Someone could help me?


Hard to help you with so few information. Could you post code and configuration ?

Regarding CDI and Servlet, you also should have a look to Seam Servlet module, it could help you to achieve tour needs differently

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜