Iteacherserviceimpl.java:
/** * @Title: Iteacherserviceimpl.java * @Package: Com.you.service.impl * @Description: * @author: Youhaidong (Zhanghaidong) * @date : 2014-5-5 PM 11:08:39 * @version V1.0 */package com.you.service.impl;import com.you.model.teacher;import com.you.service.iteacherservice;/** * Class Function Description * Class Change Date * Change Note * <p>Title:ITeacherServiceImpl.java</p> * < P>description: Zhanghaidong Personal Development </p> * <p>copyright:copyright (c) 2013</p> * @author: Zhanghaidong * @date: 2014-5-5 Afternoon 11:08:39 * @version V1.0 */public class Iteacherserviceimpl implements Iteacherservice {/* (non-javadoc) * <P>TITL e:findteacherinfo</p> * <p>Description:</p> * @param teacher * @return * @see Com.you.service.iteacherservice#findteacherinfo (com.you.model.Teacher) */@Overridepublic String Findteacherinfo ( Teacher Teacher) {return "Teacher work Number:" + teacher.getteachernum () + "\ n" + "Teacher Name:" + teacher.getteachername () + "\ n" + "Teacher Age:" + t Eacher.getteacherage () + "\ n" + "Teacher Gender:" + teacher.getteachersex () + "\ n" + "Teacher QQ:" + TeachER.GETTEACHERQQ ();}}
WebService it cxf these three notes (service Interface implementation Class)