This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Which jrxml file can be called from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Which jrxml file can be called from Java" Watch "Which jrxml file can be called from Java" New topic
Author

Which jrxml file can be called from Java

malik ge
Ranch Hand

Joined: May 13, 2011
Posts: 69
Hello,

I want to know is it possible if I create a report in iReport Designer and use that report ".jrxml" file. And call that file from Java program to view as report in JasperReportViewer??
Or do I always have to compile it and then use it?
Can I directly use the jrxml file created by iReport Designer?
malik ge
Ranch Hand

Joined: May 13, 2011
Posts: 69
any help?
James Boswell
Ranch Hand

Joined: Nov 09, 2011
Posts: 657
    
    2

malik

In my experience of using Jasper, you have to compile the report before you can use it. If your jrxml files do not need to be generated at runtime, you can compile them as part of your build and then use the resultant jasper file in your application code.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Which jrxml file can be called from Java
 
Similar Threads
Jasper with StoredProcedures
Problem Displaying Table Format In Jasper
Help with Reporting on the Client
[RESOLVED] jasper & iReport multi-reports
Jasper Report TroubleShooting