I want to deploy a java webservice from eclipse,to run on my localhost without eclipse
this is my webservice:
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public class HelloWeb {
@WebMethod
public String sayGreeting(String name) {
return "Greeting " + name + "!";
}
}
i did the following: after writing this, i rightclicked on the helloweb file, and clicked "create web service" and got the following image:
after clicking finish the service begins running in the internal web explorer
but i want it to run when eclipse is closed
how do i do that? what am i missing?