• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Stateless Session Beans Data

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a newbie..if several clients are serviced by the same instance of a stateless session bean(SSB) isnt there any data interference? How many instances of a SSB can be created by a container - is it the same as the number of clients?
Thanks a lot.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nupur,

As far as stateless session bean is concern there will no data interference between different bean instance,reason is your session bean doesn't remember the state.
In app server we have pool concep for Entity and Stateless session bean. But remember both pools are different
As far as Stateless Sesssion bean pool is concern,this pool got all the ready state bean instance and container can directly assoicate these instance with you EJBObject.
So you can configure this parameter,that is how many instances shd be created when you server is up.
Now the question comes if all instance are busy to fill the client request than what ?
So some container wait till the time any busy instance gets free but some container re-create bean instance (configurable).
hope that is is clear to you.

Cheers,
Sunil Dixit
 
You don't like waffles? Well, do you like this tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic