MB<br />Sun Certified Programmer for Java2 Platform
MB<br />Sun Certified Programmer for Java2 Platform
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
You definitely want the runnables that do all the work to use a ConnectionPool. Just thinking out loud .. you could cause each Thread in the pool to have its own connection. Maybe a reason to extend Thread after all?
MB<br />Sun Certified Programmer for Java2 Platform
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
MB<br />Sun Certified Programmer for Java2 Platform
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
Just trying to figure out if I keep getting some kind of errors in the threads how to detect that in the main loop so can send some kind of notification to Admin rather than sending notifications in the threads.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
I am curious if there will ever be a scenario where any thred never returns back and the program gets hangs. How can I make sure program does not hang or there is no deadlock issues. How to make sure all the threads does come back and never goes into a hang state.
How can I incorporate a common error handler in the above code.
Is there a way to get the datasource connection from connection pool even though it's a standalone program.
The xml size for the request and response is pretty big. When I get the response have to process the xml and safe it into mulitple tables.
Plus I am not on a multi CPU/core system.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
MB<br />Sun Certified Programmer for Java2 Platform
I am bit concerned over if one thread gets hanged due to any reason then nothing proceeds until the thread dies or is done. Is there to set a time for each thread to return else forcefully stop that thread instance to continue so atleast the program continues and in the next run the record that hanged will be again picked-up.
MB<br />Sun Certified Programmer for Java2 Platform
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
MB<br />Sun Certified Programmer for Java2 Platform
Can't .... do .... plaid .... So I did this tiny ad instead:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|