[email protected] wrote on 12/06/2005 11:04:19 AM:
>
> On Dec 6, 2005, at 9:44 AM, Robert Walker wrote:
>
> >> Is there anyway to write some sort of plug-in for JasperReports to
> >> get it to play more nicely? Are there nice reporting tools for
> >> Hibernate that may have a better impedance match to EOF?
> >
> > It appears to me from gleaning the JasperReports API that this work
> > has already been done. There are multiple subclasses of
> > JRDataSource that provide access to Java collections, array maps,
> > and XML data sources.
> >
> > Give it a closer look and see if there isn't some way to integrate
> > reasonably well with JasperReports, Seems to me the XML data
> > source option might be doable with less work than you're
> > proposing. Plus this way you can take advantage of the
> > JasperReport GUI design tools.
> >
> A couple of additional thoughts. I am working on a project where we
> are looking at using JasperReports with a subclass of JRDataSource to
> map to an NSArray of EOs. I am not sure we will go that way or not.
> Operations reporting usually pulls a lot of summarized data and EOF
> is often not an efficient access path for the data needs of such
> reports.
>
> Chuck
We are currently using JasperReports with our WebObjects apps. We wrote a custom JRDataSource that uses key-value coding into NSArrays of EOs, and we just embed the keypath in the Jasper Report template. Our reporting needs were very modest, mostly several pages of lists of EOs that match a certain criteria with very little aggregation/summarizing except a total count at the end. Plus our reports are batched nightly, so performance is not really an issue. It worked pretty well for our needs. We can probably provide the code if it would be helpful.
Logan Allred
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
