Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which jrxml file can be called from Java

 
malik ge
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any help?
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic