Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Controlling Java at the terminal  RSS feed

Todd Fisher
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writting an application that is making use of a large
number of other applications. A few of which are java.
To call them from my app I'm sending the command:
java -jar prog.jar < infile > outfile
This works fine so long as I only make use of the java applications minimally, however, the java program I am using
is a tagger, which is being called potentially thousands of times. As you might image this is a very large bottleneck
in my app. I was wondering if there is any way that i might just
be able to say java -start
then anything i send such as -jar prog.jar
would be executed, rather then me having to restart the JM
everytime i want to use my tagger or if anyone has any
suggestions as to how i might work around this problem
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!