Adobe Dreamweaver Forums



Last 10 THreads :         Creating images to look like original oil paintings? (Last Post : chris_farrell@adobeforums.com - Replies : 2 - Views : 3 )           »          Uncatchable Error 2101 (Last Post : M4G1C14N - Replies : 8 - Views : 9 )           »          Log email text (Last Post : Mack - Replies : 4 - Views : 5 )           »          Can I make a 4 state CSS Sprite nav bar. (Last Post : Dooza - Replies : 10 - Views : 11 )           »          Adobe Flash 10 kills Wimpy (Last Post : artmanjam - Replies : 107 - Views : 108 )           »          JRun Error on page load (Last Post : Mack - Replies : 1 - Views : 2 )           »          CFServer Datasource copy (Last Post : Mack - Replies : 1 - Views : 2 )           »          Site sometimes depends sessions, sometimes not,depending on user! (Last Post : Mack - Replies : 3 - Views : 4 )           »          annotate pdf (Last Post : aclhkaclhk - Replies : 0 - Views : 1 )           »          Re: ASP error on empty recordset field (Last Post : Dooza - Replies : 0 - Views : 1 )           »         


Mission Statement
DreamWeaverForum.infois an online Community of web developers joining together to better their field, share problems and solutions as well as promoting their cause.
We strive to bring you the best information, tools, downloads and news to support your work and companys efforts working in web development.
With our favorite tool "Dreamweaver" and the tools and information we bring you, You should be in a great postion to better your skills and show the world your work.
Come back often, Stay late we have many new things coming your way. Wish you all the best in 2009 information..



 



User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Cold Fusion > Reporting
 
Tags:



Reply
  #1 (permalink)  
Old 11-30-2008, 09:45 PM
twillerror
 
Posts: n/a
Diggs:
Default Re: Anyone using Jasper Reports or anything else?

Yes we are starting to run Jasper within CF 8. The thing I'm working thru right
now (as I type this) is that an older version of Jasper is embedded within
ColdFusion. Specifically cfusion.jar. Not sure what Adobe is using it for, but
I might have to run a seperate JVM to not have a library conflict.

<cfobject type="java" class="net.sf.jasperreports.engine.JasperRunManage r"
action="create" name="jrrm" >
<cfobject type="java" class="net.sf.jasperreports.engine.JasperCompileMa nager"
action="create" name="jrcm" >

<cfoutput>#jrrm.getClass().getProtectionDomain().g etCodeSource().getLocation().t
oString()#</cfoutput>

The output here will show which jar the class is being loaded from. I was just
trying to get my code to compile before plopping the .JAR files around, and it
just worked out of the box. The problem is the CF version is obviously older
then 3.1 which is what I want to use now. So my reports are throwing an error
when trying to compile them.

You could also look at using JasperReportServer and running reports via
WebServices. The reason I can't use webservices is the report have to be
already load into the server and we have many different instances of our app
that would make that nearly impossible to manage. The webservices do include
support for adding reports on the fly. If you are using this as a "simplish" in
house application using the report server is probably the best way to go.




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-01-2008, 07:04 PM
BinaryDesire
 
Posts: n/a
Diggs:
Default Re: Anyone using Jasper Reports or anything else?

First, the JasperReports included in the cfusion.jar is what is used for
ColdFusion Reports (CFR files). Files that are used by the cfreport tag.

Second, we included JasperReports in our application even with the other
version in cfusion.jar. Although our version is 1.2.6 it loads and we are able
to run our custom code off of it. We simply place it with all our other
required JARS in a directory that we then map in CF Admin to load. The ONLY
problem and it's a big one. Is that we are unable to run our custom code AND
ColdFusion reports because depending which JasperReports is loaded the other
will try to run using it. The only way to work around this in my research has
been using a Java Class Loader which makes me nervous and honestly I've
suggested my company to stay away from it.

I honestly wish Adobe would give developers more insight into what they are
using for CF Reports so that we can use it without having to include other JARs
such as my case.

In my opinion, I don't see Adobe taking reporting seriously as there is NO
documentation regarding what they are using, how they changed it, what are CFR
files (Jasper files are simply XML, open up a CFR and it's not xml...is it
bytecode or encrypted or what?). Because of this we are looking at technologies
other than ColdFusion and I'm pushing to move away from it to a more robust
language specially when it comes to reporting.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk