I'm trying to access a pulic website (e.g. ebay, amazon, etc.) using java to collect information. The program would simulate what a human would do like download a file or a click a link. How would i go about doing this? Any information would be greatly appreciated.
I would use HttpUnit (on SourceForge) for this kind of automation. It was meant to be used for testing web pages, but can be used easily for simulating all kinds of web traffic, including form submission and the like.