Using REST web services with Netbeans