Abhijit Kangale wrote:Hiiii Jan ,
How can I achieve this task...? please suggest me something...?
Regards,
Abhijit
Abhijit,
you should only keep display (=presentation) logic in the jsp page. Anything else *belongs somewhere else*

.
There is
an article on the server side that is more then 10 years old, but it does explain the concept, and gives you something you can try yourself. Please also read
our faq on this topic.
On running queries in parallel:
I would first check if I really need to do that. If you have performance issues, please find out what is causing them, before designing a fix.
Performance issues have the tendency not to be caused by what you think they are caused by (what a sentence).
Your sql seems to be simple. Are they giving you performance issues?
If you need to run the queries in parallel, you will have to learn about multi-threading in
java, and about creating thread-safe JDBC code.
Regards, Jan