This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to make a (preferably) command line based java program that will fill data into fields of a webpage or another program (java/non-java) and mention if the info entered was accepted or not.
Is this possible in Java? If yes, please suggest how I can do it.
The only two ways I can think of to input data into another program are using JNI or java.awt.Robot. The latter will require some precise coordinates if you need to perform automated mouse clicks. Getting info back will be a lot harder; I don't think it's possible with Robot, and it may be impossible with JNI as well.