Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Castor is good but have some doubts...  RSS feed

ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!