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

Php operator `break` doesn't stop while -

ubuntu - Bash Script to Check That Files Are Being Created -

vim: Search & replace -