WebService之CXF注解之二(Service接口)

news/2024/7/6 10:34:06 标签: java

ITeacherService.java

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);
}



http://www.niftyadmin.cn/n/1306267.html

相关文章

HDU 1709 The Balance(母函数)

题目&#xff1a;HDU-1085 题目链接&#xff1a;http://acm.hdu.edu.cn/showproblem.php?pid1085 题目&#xff1a; The Balance Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7089 Accepted Submission(s…

httpwatch使用_使用JavaScript的HTTPWatch自动化

httpwatch使用背景(Background) HTTPWatch (automation)HTTPWatch (自动化)...with PHP (and again and again, and response) ...用PHP (一次又一次&#xff0c;和response )JavaScript shell scripting JavaScript Shell脚本I gave this short presentation at the recent Ya…

WebService之CXF注解之三(Service接口实现类)

ITeacherServiceImpl.java&#xff1a; /*** Title:ITeacherServiceImpl.java* Package:com.you.service.impl* Description:* author:Youhaidong(游海东)* date:2014-5-5 下午11:08:39* version V1.0*/ package com.you.service.impl;import com.you.model.Teacher; import co…

WebService之CXF注解之四(测试类)

TeacherTest.java&#xff1a; /*** Title:TeacherTest.java* Package:com.test.service* Description:* author:Youhaidong(游海东)* date:2014-5-5 下午11:14:09* version V1.0*/ package com.test.service;import org.apache.cxf.interceptor.LoggingInInterceptor; import …

div 自定义画布_通过画布自定义动画光标

div 自定义画布Warning: dont do this. Stop it! Just. Dont. 警告&#xff1a;请勿这样做。 停下来&#xff01; 只是。 别。 So theres this hack by Ben Foxall that shows how you can escape the browser window and draw outside the page. I had to try it myself. So …

U盘重装windows 10 系统教程

其实重装系统是一件很简单的事情&#xff0c;无论是不是计算机专业的学生或者从事计算机有关行业的人&#xff0c;只要是经常操作电脑的人&#xff0c;都可以很快的独立完成。当然&#xff0c;重装系统也有很多种方法&#xff0c;这里介绍的是使用U盘启动项来进行系统重装。操作…

mac上制作9.png_在Mac上安装一堆PNG工具

mac上制作9.pngThis is one of those note-to-self type of posts. Just went through the exercise of installing a number of PNG tools on the Mac and here are some notes. The instructions below should probably work on any unix box. 这是这些自我说明类型的帖子之…

WebService之CXF注解之五(配置文件)

1、web.xml <?xml version"1.0" encoding"UTF-8"?> <web-app version"3.0" xmlns"http://java.sun.com/xml/ns/javaee" xmlns:xsi"http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation"http://…