LDAP and Java or C++

30 pts.
Tags:
C++
Java
LDAP
I have a Java app and a C++ app that gathers a list of names from a directory. Sometimes the search could take an hour before it returns a list to iterate through. My question is that once the search begins, the app is going to run until the search is complete and it iterates the result set. What can I do if a user wants to stop the search that is running but it is still searching? I have thought of placing the search in a thread but I would have to kill the thread for outside the thread and that leaves memory leaks. Thanks, Joey
ASKED: July 31, 2008  5:37 PM
UPDATED: July 31, 2008  5:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following