Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Castor for reporting application?

 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all-
I�m looking at redesigning a web app that is currently producing simple reports by running queries against relational databases (both DB2 + Oracle) using Data Access Objects, producing data beans which are displayed using Struts and JSPs. There are currently 4 out of 9 reports coded and I�m wondering about more flexible/open alternatives as there could well be more than 9 reports down the road. I�m thinking of generating XML instead of data beans and also wondering about how to get at the data without writing tailored queries, each in its own DAO. I've taken an initial look at Castor and this looks like something Castor can do but I was curious about any alternatives or suggestions.

thank you,
Max Tomlinson
 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used castor quite a bit and if I had to recommend a data-binding framework, I would suggest xmlbeans.
 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used Castor before and found it a bit painful/awkward. I have also used JiBX, although not extensively, and found it much easier to use. You might want to look at this page for a good overview of XML data binding packages: https://bindmark.dev.java.net/old-index.html

Good luck!


--James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic