This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.
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