开发者

Is it possible to get collection of some ejb`s instances from container?

开发者 https://www.devze.com 2022-12-29 23:17 出处:网络
Scenario: I have some @Statefull bean for user session (not an HTTP session, it is web services session). And I need to manage user\'s session per user.

Scenario: I have some @Statefull bean for user session (not an HTTP session, it is web services session). And I need to manage user's session per user.

Goal: I need to have possibility to get collection of @Statefull UserSess开发者_如何学运维ion instances and control maximum number of session`s per user, and session`s life time.

Question: Is it possible to get Collection of EJB instances from EJB container, instead of storing them in some collection, map, etc?

I am using GlassFish v3, EJB 3.1, JAX-WS.


Looks like it is not possible..

0

精彩评论

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

关注公众号