aspose 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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 35223
    
    7
What kind of instances? Threads? DB connections? Something else?
In general, most pool implementations are designed to be configurable.


Android appsImageJ pluginsJava web charts
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: 35223
    
    7
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how many instances to be maintained in Pool.?
 
Similar Threads
Is it the container or the Thread??
Servlet unloading
MDB synchronize onMessage
Action class instance
ejb pool question