A Simple Executable Report
As shown earlier, creating a simple replet basically involves constructing a ReportSheet object.
public class Replet1 extends BasicReplet {
ReportSheet createReport(RepletRequest req) {
... // create and return a ReportSheet object
}
}
For a simple reporting system where no user interaction with the reports is needed, the creation of a ReportSheet object may be the only thing the programmer needs to do. Therefore, there is no need to use the Replet API, rather than the basic InetSoft API, to create ReportSheet objects. The following is a list of features you automatically get, using the basic InetSoft API, with no extra coding:
• Server based report generation with thin client.
• Web-based report viewing in any browser.
• Demand paging of reports from the server to the client.
• Ability to use the replet with other services, such as scheduling of reports.
• Built-in support for delivering the output through email.
• Built-in PDF generation in the Web Viewer, so your reports can be saved or printed from a browser with no client-side Java code.
You will probably find more features to add to this list as we more fully explore the replet architecture.