added client and server REST support

This commit is contained in:
2015-03-29 22:16:27 +02:00
parent 9b37788528
commit 4a9a01068f
15 changed files with 692 additions and 281 deletions

View File

@@ -0,0 +1,17 @@
package client;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
/**
* Created by walter on 29/03/15.
*/
public class MainClient
{
public static void main(String[] args)
{
Client client = ClientBuilder.newClient();
WebTarget target = client.target("http://www.myserver.com/book");
}
}