WebService it cxf these three notes (service Interface implementation Class)

Source: Internet
Author: User

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) * &LT;P&GT;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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.