Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Architect Certification (OCMJEA)
EJBs and Resource Usage (I would like almost a poll)
posted 12 years ago
A question in whizlabs suggests in terms of resource usage:
Entity beans use more resources than Stateful sessions beans. (Obviously stateless are very "light-weight)
To some extent I agree/understand...DB connections use resources
I also think that the effect of Entity beans being shared would have a significant impact in delegating them to second places.
Stateful can be passivated but also have need an object for EVERY client that wishes to utilize them.
Can I please get other people opinions/wisdom on what they consider more resource intensive (i guess its DB/Network access versus wasted memory")
Thank you all and have a nice day
SCJP, SCWCD, SCBCD, almost SCEA<br />... and a real developer too ;)
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
SessionBean vs. RequestBean
stateless vs stateful session beans
Statefull Session Beans and Entity Beans