ITeacherService.java:
/** * @Title:ITeacherService.java * @Package:com.you.service * @Description:教师Service接口 * @author:Youhaidong(游海东) * @date:2014-5-5 下午11:06:24 * @version V1.0 */ package com.you.service; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import com.you.model.Teacher; /** * 类功能说明 * 类修改者 修改日期 * 修改说明 * <p>Title:ITeacherService.java</p> * <p>Description:游海东个人开发</p> * <p>Copyright:Copyright(c)2013</p> * @author:游海东 * @date:2014-5-5 下午11:06:24 * @version V1.0 */ @WebService public interface ITeacherService { /** * * @Title:findTeacherInfo * @Description: * @param:@param teacher * @param:@return * @return:String * @throws */ @WebMethod public String findTeacherInfo(@WebParam Teacher teacher); }
WebService之CXF注解之二(Service接口),布布扣,bubuko.com
原文:http://blog.csdn.net/you23hai45/article/details/25083047