Jaxb annotated classes should be serialized and deserialized by the pluto container. Annotated classes are those, who have a @XmlRootElement annotation right before the classname.
public class Name implements Serializable
Now you can use this class as object payload if you are sending an event.
And if you process this event, you should be able to cast the payload back to this object.
Event event = request.getEvent();
if (event.getName().equals("your event name")
This should be transparent to the user.