I was wondering if there is something like Perl\'s/Python\'s mechanize for Java.
Thanks!
Yes, there is now! I too wanted mechanize in Java and we've written it.
Please check out http://gistlabs.com/software/mechanize-for-java/ (and the GitHub here https://github.com/GistLabs/mechanize).
Feedback, bug reports, and success stories welcome!!
Take a look at HtmlUnit. It is similar to Perl's WWW::Mechanize. There is also a Perl version of it named WWW::HtmlUnit (it uses Inline::Java to expose the Java library's methods to Perl).
Are you thinking of a generalized web client, like HttpClient?