File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how many instances to be maintained in Pool.?

 
gopal kishan
Ranch Hand
Posts: 99
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic