Win a copy of liveProject: Build an ML Recommender System this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

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?
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic