• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Statefull Session Beans and Entity Beans

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might wanna check my post, the links I put about stateful session beans...
https://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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic