Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pros and cons of calling process from java Application in loop

 
shakilahmed ahmed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic