i need to call a data processing calculator which is processes data in multithreaded way( uses threadpool) from a webservice. as per J2EE standards i cannot call any custom multithreaded program from container managed programs.  so how can i handle this situation.

the speed of processing of calculator depends heavily on multithreads. so i cannot change that.