Ivan Krizsan wrote:Hi!
I recall having seen some setting in GlassFish that allowed me to configure the size of a threadpool from which threads serving requests are taken.
See this article: http://blogs.sun.com/binublog/entry/monitoring_in_glassfish
Thus I feel that increasing the size of this threadpool may solve your problem.
With reservation for having misunderstood the question...
ajse ruku wrote:Requirement is such that i need to have 30-35 static final strings (generally one line 90-100 words) having some variables.
At run time based on data available,i need to pick a string , replace the variables with values and then pass that to some other method which is not my concern.
Jim Hoglund wrote:Henry : A question. How is the reality of multiprocessors reflected in Java 1.6,
and what do I need to know for about this for SCJP-6? Is it true that physically,
with multiple processors, there may be multiple threads running (with OS magic),
but logically, based on the language spec, thread behavior is as described above?
Jim ... ...
Istvan Kovacs wrote:
Andraz Poje wrote:
How do I get more precise result?
Besides running many times and making sure you get the JIT compiler to actually compile your code before benchmarking, you may want to check out System.nanoTime().
ramprasad madathil wrote:I understand the benefits of the concurrent package.
>I personally think it is preferred to seperate the work itself from the component that needs to decide if work needs to be done in the first place. This'll allow you to, for example, define different kinds of work in different classes while using the same controller class to trigger the work (that's another reason to use Runnable, you can pass different units of work to the same thread instance over and over if desired).
I was looking for some thing on those lines - Thank you for that