Hmm.. im not sure i understand you, by Objects from the DB tier you mean ResultSets or just generic Objects that parse into other values later (i.e strings, numbers..etc)?
Anyhoo.. (im talking bout Jasper in specific now), i do know for a fact that it doesnt necessarily require a database connection to operate, as i've thrown all kinds of objects at it myself.. n it worked just fine.. if my memory doesnt fail me, Jasper didnt care much about the whereabouts it got its data from, you could pass any Object to it thru a java class you write (you can easily find tutrials on that, i think they even have some on the website), but i do recall that there was a constraint of having to parse whatever object it receives (i.e Object, ResultSet..etc) into something readable at some stage, thru-out the report building process.. like to a string for instance.. because it takes this staged approach thing, like you go thru stages when making the xml report document, n like, youre supposed to finish the parse into string thing at some specific stage.. a bit of reading on the website should clear that out.. here are a few samples.. hope they help:
From: Amer Abu Gharbieh <[EMAIL PROTECTED]>
Reply-To: Jordan Linux User Group Mailing list <[email protected]>
To: Jordan Linux User Group Mailing list <[email protected]>
Subject: Re: [JoLUG-General] Crystal Reports with JAVA
Date: Fri, 25 Nov 2005 02:48:02 -0800
MIME-Version: 1.0
Received: from gnu.easyhttp.net ([204.157.15.31]) by mc10-f40.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 25 Nov 2005 02:51:28 -0800
Received: from localhost ([127.0.0.1] helo=gnu.easyhttp.net)by gnu.easyhttp.net with esmtp (Exim 4.52)id 1Efb7f-0002Et-S8; Fri, 25 Nov 2005 12:48:07 +0200
Received: from [64.233.162.204] (helo=zproxy.gmail.com)by gnu.easyhttp.net with esmtp (Exim 4.52) id 1Efb7d-0001ys-I9for [email protected]; Fri, 25 Nov 2005 12:48:05 +0200
Received: by zproxy.gmail.com with SMTP id m22so1783114nzffor <[email protected]>; Fri, 25 Nov 2005 02:48:02 -0800 (PST)
Received: by 10.36.222.5 with SMTP id u5mr1076681nzg;Fri, 25 Nov 2005 02:48:02 -0800 (PST)
Received: by 10.36.227.40 with HTTP; Fri, 25 Nov 2005 02:48:02 -0800 (PST)
hey Saleh,thank u very much for ur reply, actually the matter of free thing doesn't concern me cuz iam working in a company and they pay for the Licence :Danyway u was really helpfull, cuz i was looking befor for a free software for my own projectsbut i have a question about the iReport and Jasper Reportscan i make a report taking the Data from Objects then create the report based on the Objects data ?or i have to connect the DB to get that Data and then create the report ?cuz i have no access to the DataBase i receive Objects from the Data Tier (Messages between the Data Base and the Data Tier then sending Objects to the Presentation Tier)so i have to take the Data from Objects not the DBany idea if i can implement that on the iReport or Jasper Reports ?thanx alot Salehbest regards,Amer Abu Gharbieh
On 11/24/05, Saleh Odeh <[EMAIL PROTECTED]> wrote:Hey, i remember trying to use crystal reports with java before, there was a problem with it being not free.. like you have to pay money ( n if im not wrong quite a lot ) to be able to use it with java, couldnt find a non commercial license either.. i settled on using OSS packages called (iReport and Jasper Reports) theyre java based, and very helpful in producing XML based reports, jasper is the engine, ireport is just a Crystal-like IDE that makes it easy to use Jasper.. i remember there were all sorts of IDEs for all sorts of reports building.. once you get the xml reports out.. you can export them to anything you want really.. web , XLS, PDF.. they were all suported on both packages.. you can find the packages on source forge, n they run on both windows and linux ( as in actually run, no tweak required)..
Heres the link for the Designer IDE:http://ireport.sourceforge.net/
And teh Engine:
http://jasperreports.sourceforge.net/
hope i was of help man, please do let me know what happens with you.. specially if you figure out a way to run crystal reports with java for free..
/me out.
From: Amer Abu Gharbieh <[EMAIL PROTECTED]>
hi guys,i have a question about the Crystal Reports with JAVAcan i get the information in Object and generate a report then view the report in JSP page ?iam kinda beginner in this :Sany ideas ?
>_______________________________________________
>http://mail.jolug.org/mailman/listinfo/general_jolug.org
>General mailing list
>[email protected]
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org
--
faithfully,
Amer Abu Gharbieh
>_______________________________________________
>General mailing list
>[email protected]
>http://mail.jolug.org/mailman/listinfo/general_jolug.org
_______________________________________________ General mailing list [email protected] http://mail.jolug.org/mailman/listinfo/general_jolug.org
