File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Castor is good but have some doubts... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Castor is good but have some doubts..." Watch "Castor is good but have some doubts..." New topic

Castor is good but have some doubts...

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Finally I am using Castor for my project. The reasons are it is very easy to use (one line code for code generation & one line code for parsing the xml file & storing it into generated java objects), jar files are easily available (for JAXB, we have to download whole 16 MB package (though I am not sure in this)), not found any major drawback.

But I have some minor problems in this:
1] By default, it generates Vector for storing list of items, How can I fource it to generate ArrayList instead of Vector.
2] It generates descriptor file for every class, what is the purpose of this class.

Please solve my doubts.
Thanks a lot.
I agree. Here's the link:
subject: Castor is good but have some doubts...