• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Some basic doubts...

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am having some basic doubt, please clarify with some examples.
What is meant by Scalable?
Stateless beans are scalable and Statefull beans are not scalable, what it means??

Thanks,
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Scalability is a performace matrix , it is the ability of a software program to continue to function smoothly as additional volume, or work is required of it. Also, o ne can say it is the ability to expand the number of users or increase the capabilities of a computing solution users without making major changes to the systems or application software.
To me, it is wrong to blankly say that Stateful beans are not scalable. I think it should say "less scalable" rather than "not scalable" . Yes they have more overhead than the stateless beans, but sateful beans are there for a purpose , to maintain state between method invocations.
It would be a overkill if one uses stateful bean for a business rule when the same thing can be done with a stateless bean.
Reg. examples, it is hard to give you a example for scalability as one can experience when the system is under load testing or under peak load.
if you would really like a example , then you could download one of the free load testing tools and run them against your application.
 
reply
    Bookmark Topic Watch Topic
  • New Topic