Does anyone know where I can find a good tutorial on configuring apache and 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 (e.g. www.somedomain.com/service/001/notify). The idea is that the client makes an Http request and the Java web service receives the request and runs the appropriate Java code on the host.
Sorry for the gaps in my knowledge, so I need to have a tutorial.
In short, I would like to do this:
CUSTOMER:
new Request("www.somedomain.com/service/001/notify");
JAVA WEB SERVICE:
public void notify(int serviceID){ System.out.println("Service " + serviceID + " says 'Hello!'"); }
source share