I have good knowledge of core java.So i will be looking to make bots using java. Now ,after searching BHW about java to make bots, many people recommended Htmlunit. However i have following doubts, i tried to ask this in other popular java forums but didn't got any replies. So, this is all i want to know: 1. Does htmlunit uses httpurlconnection internally? 2. If not which one is more faster in terms of establishing a connection,scraping data from websites, filling out forms etc.. 3. Are there any better things performance wise like socket programming for above mentioned tasks? I want to learn all this things.. but i am super confused on what to learn.I played with selenuim and java bindings, but they are super slow.Now i am learning htmlunit. Do you know any better solution for doing the above mentioned tasks?