Hi everyone, Here I have a situation where I have to do some calculations based on some values entered by the client.
The values and the formula are kept in tables ie., if we have x=0.2a+0.6b+0.2c in tables i have val factor a 0.2 b 0.6 c 0.2 x is calculated from this table similarly y and z are also calculated and thier result is stored in another table where t=0.4x+0.2y+0.4z val factor x 0.4 y 0.2 z 0.4 again the calculated t,u,v traverse to another table here the values are entered by user in only one base table where the values calculated traverse up to another table and then another. x t is got from xyz t y z i m u j u is got from ijk m is got from tuv k l v m v is got from lmn n here the base table is having xyz,ijk,lmn etc. the next table gets the values tuv from the base table the next table gets value of m from tuv The resultant in these tables are then used for root cause analysis and course correction. At present I am calculating the values sequentially Can anyone suggest any other method using thread whereby my calculation speed may be increased ( at present the caluculations take approx 1 to 2 hrs) chao ---------------------------------------------------- V.T.R.Ravi Kumar Engineer,CCX,BHEL, Haridwar Phone : Office-91-01334-285260 Res -91-01334-226121 ----------------------------------------------------- ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com