编写Web Services程序时需要使用的Annotation

来源:互联网 发布:海德曼数控车床编程 编辑:程序博客网 时间:2024/06/08 03:13

JSR 181 (Web Services Metadata) Annotations

@javax.jws.WebService

@javax.jws.WebMethod

@javax.jws.OneWay

@javax.jws.WebParam

@javax.jws.WebResult

@javax.jws.HandlerChain

@javax.jws.soap.SOAPBinding

JSR 224 (JAX-WS) Annotations

@javax.xml.ws.BindingType

@javax.xml.ws.RequestWrapper

@javax.xml.ws.ResponseWrapper

@javax.xml.ws.ServiceMode

@javax.xml.ws.WebEndpoint

@javax.xml.ws.WebFault

@javax.xml.ws.WebServiceClient

@javax.xml.ws.WebServiceProvider

@javax.xml.ws.WebServiceRef

@javax.xml.ws.Action

@javax.xml.ws.FaultAction

JSR 222 (JAXB) Annotations

@javax.xml.bind.annotation.XmlRootElement

@javax.xml.bind.annotation.XmlType

@javax.xml.bind.annotation.XmlAccessorType

@javax.xml.bind.annotation.XmlAttribute

@javax.xml.bind.annotation.XmlElement

@javax.xml.bind.annotation.XmlSeeAlso

JSR 250 (Common Annotations) Annotations

@javax.annotation.Resource

@javax.annotation.PostConstruct

@javax.annotation.PreDestroy


0 0
原创粉丝点击