dealing with long process
0 posts in topic
Flat View  Flat View

Posted By:   John_Zhang
Posted On:   Thursday, January 13, 2005 01:02 PM

in my J2EE web based application,user click a button on a page,this will call a long process.to avoid the browser waiting for reply,there are two solutions:
1. using messageing.the jsp call a message driving bean,and MDB call this process
2. using multi-thread.the jsp call a classA and classA start a thread in another classB(which call process).

which is better and WHY?

thank you.

About | Sitemap | Contact