aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
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
Bartender

Joined: Nov 09, 2011
Posts: 1030
    
    5

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.
 
wood burning stoves
 
subject: Which jrxml file can be called from Java