File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes pros and cons of calling process from java Application in loop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "pros and cons of calling process from java Application in loop" Watch "pros and cons of calling process from java Application in loop" New topic
Author

pros and cons of calling process from java Application in loop

shakilahmed ahmed
Greenhorn

Joined: Dec 18, 2003
Posts: 1
I have a java application that is used for search.Index of the files which has to be searched is ready .A shell script is written that runs a process written in C++ that find the given text from the indexes and return file names.I am calling this process in a loop from java application using Runtime and Process class in a loop for each request.I feel this is not a feasible solution.
what should i do?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: pros and cons of calling process from java Application in loop
 
Similar Threads
Networking between a Java application and an executable launched with Runtime.exec()
How to access out parameters in c++ dll
Regarding autostart of a servlet
Getting log4j to write to multiple log files
input from process invoked via RMI