Samples JDK
Ticket.java
1 package com.freemindcafe.apache.cxf.jaxrs.sample3;
2 
3 import javax.xml.bind.annotation.XmlAccessType;
4 import javax.xml.bind.annotation.XmlAccessorType;
5 import javax.xml.bind.annotation.XmlRootElement;
6 
7 @XmlRootElement
8 @XmlAccessorType(XmlAccessType.FIELD)
9 public class Ticket {
10 
11  private String description;
12  private String assignee;
13 
14  public Ticket(String assignee, String description){
15  this.assignee = assignee;
16  this.description = description;
17  }
18 }