Folks,
This was a great tutorial. Actually worked for me. I extended the service so
it actually does something. You can change the status message and get it
to add numbers.
<code>
package myPkg;
public class MyService {
static String status;
static int one, two;
public MyService() {
}
public Boolean Configure(String param){
status = param;
return true;
}
public Boolean StartMe(){
return true;
}
public Boolean StopMe(){
return true;
}
public Boolean SetNums(int x, int y) {
one = x;
two = y;
return true;
}
public int AddNums() {
return(one+two);
}
public String getStatus(){
return status;
}
}
</code>
Recent comments
12 years 50 weeks ago
13 years 1 day ago
13 years 1 week ago
13 years 3 weeks ago
13 years 3 weeks ago
13 years 3 weeks ago
13 years 4 weeks ago
13 years 4 weeks ago
13 years 5 weeks ago
13 years 5 weeks ago