2008/9/28 Reda <[EMAIL PROTECTED]>:
>
> Camel is a very powerful sw (I'd like to use it with smx4, osgi) and could be
> more and more used but from my point of view (a not expert of camel, spring,
> maven and eclipse tools..) it needs some more detailed
> documentation/tutorials or links to external documentation...
>
> I found interesting the section "XSD and JAXB Beans for the Canonical XML
> Format" fro tutorial "tutorial-business-partners"...: where you add an XSD
> file in a specific directory and magically maven will create the java
> code...
>
> Is there something similar for the JPA? Are PersonDocument.java and
> CustomerEntity.java created manually or automatically with
> maven,eclipse,...?

They are both created manually (i.e. Java first).

For JAXB you can take an XSD and generate beans from it - we do this
in the camel-spring pom.xml to generate the Camel XSD.

For JPA as Aaron said there are tools to reverse engineer from a
database - see the hibernate tools.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to