Does anyone know where I can find a good tutorial for setting up apache and a java web service (Hello World)?
I'm new to Apache and Java Web Services (do I need Tomcat?). I need a simple Java Web Service that can receive a simple http request from a client (eg. www.somedomain.com/service/001/notify). The idea is that a client will make an Http request and the Java Web Service will receive the request and run corresponding Java code on the host.
Sorry for the gaps in my knowledge, hence my need to have a tutorial.
In short I'd like to do this:
CLIENT:
new Request("www.somedomain.com/service/001/notify");
JAVA WEB SERVICE:
public void notify(int serviceID){
System.out.println("Service " + serviceID + " says 'Hello!'");
}