aspose file tools*
The moose likes Object Relational Mapping and the fly likes Castor for reporting application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Castor for reporting application?" Watch "Castor for reporting application?" New topic
Author

Castor for reporting application?

Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 365
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

Joined: Aug 31, 2004
Posts: 225
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

Joined: Sep 12, 2003
Posts: 188
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
 
Don't get me started about those stupid light bulbs.
 
subject: Castor for reporting application?