This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello ranchers, are stateful session EJBs still a heavy-weigth object that one should avoid in designs? Please correct me if I'm wrong, but it seems to me that stateful session beans are way lighter in EJB 3.0 than 2.X. Thanks in advance... XM
When the compiler's not happy, ain't nobody happy...
I think the advice to avoid stateful session beans does't come from their cognition as "heavy weigth" objects. The true problem with sfsb is that they introduce higher demands on application servers in a clustered environment (transfering "state" from on server to another for the sake of failover, loadbalancing, etc.). In my opinion, even with EJB3 it's still essential to carefully think about their usage.