• Post Reply Bookmark Topic Watch Topic
  • New Topic

Statefull Session Beans and Entity Beans

 
Suresh Bansal
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Their is a lot of folk lore that statefull session beans and entity beans are very expensive and should not be used.
So, should we rule out their usage in our design alltogather or can we use them in some cases. I feel that we could use entity beans for master data.
Also the functionality of statefull session beans can also be acheived by using servlet session. Which one is better. I think session beans as they shall be more scalable.
Thanks,
Suresh.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might wanna check my post, the links I put about stateful session beans...
http://www.coderanch.com/t/311554/EJB-JEE/java/Stateful-Session-Beans
hope it helps
 
Suresh Bansal
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Your link is most help full and clarifies the concepts.
What are your views on use on Entity Beans.
Their is a thinking that entity beans are very expensive and should not be used.
So, what should be cases where it should be used.
According to me it should be used in case of master data or if data is used concurrently by many clients.
What do you say ?
Suresh.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well... not sure.. there's a lot of controversy around this topic. if you go to www.theserverside.com there's a bunch of topics regarding this.. Ed roman's Mastering EJB book also explains a bit about this.. maybe if we get a more experienced developer we both can really clarify our concepts...
any ideas guru's?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!