Fetching in a thread

Michael Deninger <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi everyone!

I am working on optimizing an application I work with and wanted to  
know if anyone has successfully done the following:

1) Given that knowing which records the user is currently working  
with I can predict which records they will soon want and
2) Fetching and sorting those records can take several (2-10) seconds  
and otherwise interrupts their workflow

Can I create a separate java thread to fetch those records to the  
default editing context and sort them so that when the user requests  
them, they appear almost instantly?

If so, would anyone share some sample code?

Regards,

Mike

Michael Deninger RPh. Ph.D.
Partner, Towncrest Pharmacy
2306 Muscatine Ave.
Iowa City, IA 52240
Ph: 319 337-3526
Fax: 319 337-5271
[email protected]

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.