I am currently developing a web service in java with netbeans.
This web service must be able to:
- run a command given (the path of the command is provided by the client).
- Return the standard output
- Return the error output
- return the CPU usage
- return the memory utilization
First, I tried to learn how to implement a web service standard and easy (web service that adds up) and I succeded.For my project I have found no documentation who could help me.
I need your help please either through some documents or by a more detailed explanation.