File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes how many instances to be maintained in Pool.? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how many instances to be maintained in Pool.?" Watch "how many instances to be maintained in Pool.?" New topic
Author

how many instances to be maintained in Pool.?

gopal kishan
Ranch Hand

Joined: Feb 23, 2005
Posts: 99
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
Marshal

Joined: Mar 22, 2005
Posts: 41885
    
  63
What kind of instances? Threads? DB connections? Something else?
In general, most pool implementations are designed to be configurable.


Ping & DNS - my free Android networking tools app
gopal kishan
Ranch Hand

Joined: Feb 23, 2005
Posts: 99
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
Marshal

Joined: Mar 22, 2005
Posts: 41885
    
  63
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how many instances to be maintained in Pool.?