ejb 3.0 - What is the life of @Stateless EJB injected into JSF @SessionScoped? -


i'm converting code take advantage of ejb 3 , i've come scenario have @stateless ejb being injected jsf managed bean annotated @sessionscoped.

i wondering how effected life of ejb? remain stateless , destroyed after each call 1 of methods or same bean exist duration of session?

as stateless ejb session beans pooled server, there no direct relationship lifecycle , lifecycle of other session scoped beans. webserver creates , destroys such beans when needs to.
ejb spec:

the container can perform instance creation @ time—there no direct relationship client’s invocation of business method or create method.

for more information see specification (around page 99).


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -