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

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

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