1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java bots...?

Discussion in 'Other Languages' started by Packers, Apr 5, 2011.

  1. Packers

    Packers Registered Member

    Joined:
    Jan 31, 2011
    Messages:
    77
    Likes Received:
    7
    Anyone made any??

    I'm trying to learn to use HttpClient, in apaches package, but can't seem to get the blasted thing to work


    Code:
    hxxp://xxxxhc.apache.org/downloads.cgi
    Has anyone else had any luck? For some reason I can't get HttpResponse to work (using the apache tutorial).
     
  2. supparman

    supparman Newbie

    Joined:
    Jul 22, 2009
    Messages:
    28
    Likes Received:
    5
    did you add the jars to buildpath?
     
  3. matessim

    matessim Junior Member

    Joined:
    Nov 22, 2008
    Messages:
    164
    Likes Received:
    72
    Occupation:
    Being funny and kind to puppies
    Location:
    UT 2003
    I've worked with Apache libs in the past with Java(including the HttpClient class) if you need help feel free to PM me.
     
  4. plumbum416

    plumbum416 Registered Member

    Joined:
    Mar 17, 2011
    Messages:
    93
    Likes Received:
    16
    This one got me started with HTTP programming in java about 2 weeks ago
    http://www.heatonresearch.com/book/http-programming-java.html
    I read over it in some hours, and most of the content is code (often they print classes they showed before more often then once to fill the book) but it covers the basics and is a good start, so you know how to send and receive HTTP packages, download files, send GET and POST data and such, and if you want to go any further you would have enugh knowledge to know what to google for ;)
    If you google for the books name, you should easyly find a free download, at least, I did (but as it is already out there I am to lazy to reuploadon mediafire, I hope you don't mind)
     
  5. dunker

    dunker Newbie

    Joined:
    Jun 16, 2010
    Messages:
    15
    Likes Received:
    1
    I'm not entirely sure if this is what you're looking for, however most Java bots that my team has built in the last couple of months were built with the Java Robot library.

    You can find out more about it by googling for "Java Robot".
     
  6. SnowWar

    SnowWar Power Member

    Joined:
    Mar 3, 2012
    Messages:
    595
    Likes Received:
    48
    Occupation:
    Pure student :p
    Java is a very powerful language you can do so many things with it.
    You can connect so many things with java.
    But you have to do that perfectly.
     
  7. matessim

    matessim Junior Member

    Joined:
    Nov 22, 2008
    Messages:
    164
    Likes Received:
    72
    Occupation:
    Being funny and kind to puppies
    Location:
    UT 2003

    that is the most general statement i ever heard.

    OP, if you have specific questions about HttpClient, feel free to PM me and i will help you