|
|
|
|||||
|
How do I implment ThreadPool in web-based applications?
In my web application,I want to implment java Thread to improve the portal system performance.
Multiple clients processing a same request(executing business methods with usage of Thread),for each request,It's creating a new Thread and does not get destroyed when user is logged out.I want to implement this by utilizing ThreadPool or something similar technique to manage the threads. Scenario : cl1 - CustomerInfo.jsp --> ListData() object cl2 - CustomerInfo.jsp --> ListData ld = new ListData(); Thread t = new Thread(ld); t.start() class ListData implments Runnable { //business methods... } How to handle this with usage of ThreadPool. ------------------------------------------- 1. Where do I run the ThreadPool either in Server or client? 2. How do I access threads in ThreadPool for each client request? Plz suggest best way to implement this technique in jdk1.4. ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Could it be overkill to use ICE for certain applications? | mbylstra | Help Center | 6 | 02-08-2007 11:58 AM |
| ICE based HLA | bogyom | Comments | 5 | 12-08-2006 04:20 AM |
| Very, very strange problem with Ice-based applications! | timeguest | Help Center | 1 | 01-17-2006 09:30 AM |
| simplifing building ICE applications | bterwijn | Help Center | 0 | 06-19-2005 04:10 PM |
| Ice with Graphical Applications | spiff | Help Center | 3 | 03-25-2005 04:34 AM |