Introduction
The Repertoire Demo Servlet Application is a simple servlet application that illustrate how server resources can be access via the Server REST API. This application serves as a guide for developers to develop their own report applications. The full java source code is provided in the download.
Features
The Repertoire Demo Servlet is able to :
- Render Report Templates
- Render Datasources
- Render Dashboards
- Demonstrate Single-Sign On through ParamBasedRedirect?.java.
The Report Render Output Type supported in Repertoire Demo Servlet are as follows
- CSV
- Excel
- Glint
- HTML
- IMP
- LPT
- PDF
- Simple HTML
- XML
RepertoireDemoServlet? Application for Version 7.1.x
Before you can work with the
RepertoireDemoServlet?, please read the following instructions carefully.
Installation
- Unzipped the WAR file and modified /WEB-INF/web.xml accordingly.
- Deployed the WAR file into your application server.
- Launch the folllowing URL : http://<machine_name>:<port_number>/RepertoreDemoServlet/
Deployment Descriptor - web.xml
To integrate to 7.1.x, the
RepertoireDemoServlet? default deployment descriptor - ./WEB-INF/web.xml needs the following information :
- ERS Host URL
- ERS Username - Please ensure that this username is a valid user in ERS 7.1.x
- ERS Password - Please ensure that this password is a valid user in ERS 7.1.x
- ERS SessionID? - This SessionID? field allows integration to other Java Framework
Default configuration :
<servlet>
<servlet-name>ParamBasedRedirect</servlet-name>
<servlet-class>
com.elixirtech.ers2.servlet.demo.ParamBasedRedirect
</servlet-class>
<init-param>
<param-name>url</param-name>
<param-value>http://localhost:8080/</param-value>
</init-param>
<init-param>
<param-name>username</param-name>
<param-value>admin</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>sa</param-value>
</init-param>
<init-param>
<param-name>sessionid</param-name>
<param-value>JSESSIONID</param-value>
</init-param>
</servlet>
Tested Application Servers
- Apache Tomcat/6.0.13
- BEA Weblogic Version 9 / Version 10
- Standalone Jetty 5 / 6.1.0
Known Behaviour/Issues
- The ability of streaming a report template using the servlet streaming engine ( from v6.x ) is no longer available and disabled. In order to render a report, please refer to the Server REST API.
Repertoire Demo Servlet for Version 7.0.1 and below
Please note that
- Repertoire Demo Servlet from Version 7.0.1 / Version 7.0.0 are not available.
- Repertoire Demo Servlet from Version 6.x are available at <Repertoire-Server-6.x.0>\RepertoireServer\clients\demo\JavaServletApp
Download
Download
RepertoireDemoServlet? Application for Elixir Repertoire Server Version 7.1.x here.
- Note that the source code is located at RepertoireDemoServlet?.war\WEB-INF\src
Support
Please email any questions to
support@elixirtech.com
--
IrwinTan - 19 Mar 2008