Here's the situation:
   Hibernate is used as ORM; POJOs and hbm.xml mapping files already exist.
   You would need Unmarshal capability at the server end to convert POJO xml
   into POJO java object. Assume Castor is used at both client and server end.
  
   My understanding is that you would only need Mapping file to perform
   marsha/unmarshal in the above situation.
   Does one need Castor source code generator here?
 
   I used POJOs(generated from hbm.xml) as input to generate castor
   mapping.xml using O2xmapper. Is there a tool that can generate XML payload
   from this mapping.xml ?(i.e The Client end need to Marshal POJO into
   this xml payload am talking about).
   
   Is it also good to have XSD generated from this mapping file for
   validation purpose? (This XSD is not used for src code generation).


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Reply via email to