users@jaxb.java.net

Best practices with JAXB and XML schema

From: DaHoopster-2 <hwang_at_myvest.com>
Date: Mon, 13 Dec 2010 22:52:00 -0800 (PST)

Hi,

In JAXB 1.0, the best practice or commonly adopted development process is to
design the XSD first and generate the java classes. Now that JAXB 2.1 is out
there and annotations make life a whole lot easier, does it make sense to
approach the domain model from java classes and generate XSD's from the
class hierarchy?

I am taking the java classes first approach in my current project. Just
wondering if this is a commonly adopted development model.

Thanks...
-- 
View this message in context: http://old.nabble.com/Best-practices-with-JAXB-and-XML-schema-tp30452310p30452310.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.