This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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.
Have you checked out Aspose?
subject: Castor is good but have some doubts...
It's not a secret anymore!