Hi All - I am new to java and working on Threading.
I have a List and while iterating I need to do multiple things(get data from database,insert data into database,)using threads.
String xyz = list.getXyg();
// using this xyz need to select data from database
//I need to insert the data into Database from the result of select statement
I am able to get data and insert with out threads. but the new requirement is to insert parallely and for any reason it fails I need to try two times. And when I am done all the data in the array list then I need to go to JSP
Any tips and help should be appreciated.