xfire框架,搭建web service实例

 
package com.test.service;

public interface CalculatorService {
	public int add(int a,int b);
	
	public int subtract(int a,int b);
	
	public int mutipily(int a,int b);
	
	public int divide(int a,int b);
}

你可能感兴趣的:(框架,Web,service,interface)