• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB vs Castor

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone list out the pros and cons of JAXB and Castor.
Since JAXB spec is still a public draft is it wise to use it. On the other side Castor is not a standard.
Thanks in adv.
Pradeep
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For one thing, JAXB is likely to move into the standard Sun XML library. I have not played with Castor so I can't compare the capabilities - in my experiments with JAXB it was fast and was much more compact in memory than DOM.
Bill
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can I use it in production environment even though it is not final version.

For one thing, JAXB is likely to move into the standard Sun XML library. I have not played with Castor so I can't compare the capabilities - in my experiments with JAXB it was fast and was much more compact in memory than DOM.
Bill
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun just redid the JAXB pages a few days ago - see JAXB at java.sun.com
It looks to me like it is close to a final configuration, so I would say go with it.
Bill
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The original question is still unanswered...
Can any body explain which & why?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic