package application.rest.v1;

import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import java.util.ArrayList;


@Path("hello")
public class Example {

    @GET
    public String greet() throws Exception {
    	return "Hello from Sandra " + java.net.InetAddress.getLocalHost().getHostName();
            }

}

package application.rest.v1;

import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import java.util.ArrayList;


@Path("hello")
public class Example {

    @GET
    public String greet() throws Exception {
    	return "Hello from Sandra2 " + java.net.InetAddress.getLocalHost().getHostName();
            }

}

Update Example.java