Re: Request for feedback on proposed project
Re: Request for feedback on proposed project
- Subject: Re: Request for feedback on proposed project
- From: Chuck Hill <email@hidden>
- Date: Tue, 6 Dec 2005 10:04:19 -0800
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
On Dec 6, 2005, at 12:28 PM, Arturo Perez wrote:
Jarvis Cochrane wrote:
Hi everyone,
I've been reading some of the posts on this list about
generating PDFs and reports from WebObjects, and also getting
really frustrated with the "impedance match" between EO and
something like JasperReports (which seems to expect people to
write sql queries to extract data).
What I'm thinking of doing for the couple of projects I'm working
on, and for anyone else who wants to use it, is writing some
kind of reporting framework/subsystem that integrates well with
collections of data objects.
My first-cut vague design would require objects that may be
included in a report to be JavaBeans (use getXX and setXX), and
to implement a simple interface (maybe 2 methods?). The report
design would be in XML, which the reporting engine would use to
query the collection of data objects and construct an
intermediate representation (an in- memory DOM tree?) which could
then be transformed to one of a number of output formats using
XSL or FO or what have you.
There's a high probability that something like that would be
unusably slow. Reports tend to require lots of data etc.
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?
-arturo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden