How can I pipe a large amount of data as a runtime argument?

Posted by Zombies on Stack Overflow See other posts from Stack Overflow or by Zombies
Published on 2010-03-28T02:22:16Z Indexed on 2010/03/28 2:23 UTC
Read the original article Hit count: 270

Filed under:
|
|

Running an executable JAR on a linux platform here. The program it self works on a somewhat large amount of data, basically a list of URLs... could be up to 2k. Currently I get this from a simple DB call. But I was thinking that instead of creating a new mode and writing SQL to get a new result set and having to redploy everytime, I could just make the program more robust by passing in the result set (the list of URLs) that need to be worked on... so, within a linux environment, is there a pain-free/simple way to get the result set and pass it in dynamically? I know file i/o is one, but it doesn't seem to be effecient because each file has to be named, as well more logic to handle grabbing the correct file, creating a file with a unique name, etc.

© Stack Overflow or respective owner

Related posts about java

Related posts about linux