Integrating JReport Server with a Java Application Server

JReport Server is implemented using Java Servlet technology and Java Server Pages (JSP). These servlets and JSP pages enable you to work with any Java EE compliant application server and administer JReport Server remotely through a web browser.

In order to deploy to an application server, you first have to create a Web Application Archive (WAR) file or an Enterprise Application Archive (EAR) file to include a JReport Server, and then use the application server deployment tools to deploy the WAR/EAR file.

This chapter covers the following:

Note: Page Report Studio and Web Report Studio slather dynamic classes, so you probably encounter "OutOfMemoryError: PermGen space" problem when working with them after integration. To solve the problem, you need to add -XX:MaxPermSize=256m to JVM or set the number to a bigger one according to your case.