users@jaxb.java.net

Re: Help with maven 2 plugin for jaxb 1.x

From: Kostis Anagnostopoulos <ankostis_at_gmail.com>
Date: Thu, 18 Jan 2007 14:53:43 +0200

On 1/17/07, vidyamahavadi <vidya.mahavadi_at_rmb.co.za> wrote:
>
> Hi Kostis,
>
> Thanks for your response.
> I got the plugin working now. I wanted to pass the jaxb classes to a remote
> service, so I want them to be serializable. At the moment my application is
> throwing serialization exception. How do I get the plugin to generate jaxb
> classes which are serializable?

Use the <xjc:serializable uid="123456" /> jaxb customization.
Look at http://java.sun.com/webservices/docs/1.5/jaxb/vendorCustomizations.html

Regards,
  Kostis