Spring bean scope and EJBs -



Spring bean scope and EJBs -

i had been reading on spring framework documentation , came across line.

as rule, utilize prototype scope stateful beans , singleton scope stateless beans.

couldn't quiet digest it. isn't line above counter intuitive , wrong? take stateful ejbs prototypal beans makes sense wouldn't run against grain or thought of stateless ejb declare singleton bean?

spring bean scope , ejb -- read section 5.5.2 - prototype scope

spring scope ejb

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -