Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how many instances to be maintained in Pool.?  RSS feed

 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All.

Can i specify how many instances to be maintained in Pool.

is it container specific or user specific???

please clarify..

thanks in advance
Gopal
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of instances? Threads? DB connections? Something else?
In general, most pool implementations are designed to be configurable.
 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

class instances, if 10 client access the stateless session bean , then how many instances will it create??

or the user can specify the number of instances(class/thread)
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The documentation of your EJB server should state how you can configure a pool of EJBs. I'm not sure if it's a feature of EJB itself by now, or if each server has its own mechanism, but probably the latter.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!