title: Does the .prpt file (report template file) contain datasource information?
body: <p>When I created a report using Pentaho Report Designer, it outputs a report file having .prpt extension. After that I found an example on internet where the following code was used to display the report in html format:</p>
  <pre><code>protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {  
       ResourceManager manager = new ResourceManager();  
       manager.registerDefaults();  
       String reportPath = &quot;file:&quot; +  
       this.getServletContext().getRealPath(&quot;sampleReport.prpt&quot;);  
        
       try {  
           Resource res = manager.createDirectly(new URL(reportPath), MasterReport.class);  
           MasterReport report = (MasterReport) res.getResource();  
           HtmlReportUtil.createStreamHTML(report, response.getOutputStream());  
       } catch (Exception e) {  
           e.printStackTrace();  
       }  
   }  
  </code></pre>
  <p>And the report got printed successfully. So as we haven't specified any datasource information here, I think that the .prpt file contains that information in it.</p>
  <p>If that's true, then Isn't Jasper is better Reporting tool than Pentaho because when we display Jasper reports, we have to provide datasource details also so in that way our report is flexible and is not bound to any particular database.</p>