Wednesday, February 08, 2012

Spring Framework and BIRT Integration

Many BIRT users also use the Spring Framework, and while we have blogged about different integration scenarios before, many of the newer features of both projects have not been discussed. In the last couple of weeks the BIRT and Spring teams have worked together to create some examples and an article (Spring Framework & BIRT) that describes the following integration options:

• Integrating the BIRT engines in Spring MVC
• Accessing Spring beans from the BIRT Viewer
• Using Spring Remoting to access Spring Beans from a BIRT report

These examples were built using the latest versions or BIRT( 3.7.1) and the Spring Framework(3.1.0).

Thanks to Josh Long, Spring Developer Advocate and the Spring team for working with us to put this content together.

10 comments:

Mark Coggins said...

Yes, just what the doctor ordered! But what took you so long, Jason? ;-)

Jason Weathersby said...

Thanks Mark. I will ignore the second sentence :>

Sibusiso Nkambule said...

Hi, can you provide the list of birt jars that i need to add?

Jason Weathersby said...

This depends on what functions of BIRT you will need. If you want to have all available features, add all the jars in the reportengine/lib directory of the runtime download.

star said...

I am trying out this example using spring 3.1.1 and birt 3.7.2 and apache-tomcat-6.0.35.

Everything startup fine but when i click on of the link from the jsp page I get this error

HTTP Status 404 - springandbirt/reports

type Status report

message /springandbirt/reports

description The requested resource (/springandbirt/reports) is not available.

Apache Tomcat/6.0.35


and when i check the logs or console i see no errors logged....

Sibusiso Nkambule said...

Can you provide me your email so i can email my project... my email is : sbssnkambule@gmail.com

Sibusiso Nkambule said...
This comment has been removed by the author.
Sibusiso Nkambule said...
This comment has been removed by the author.
Sibusiso Nkambule said...

I managed to solve my problem by changing the HREF's in index.jsp to

href="reports?ReportName=TopNPercent.rptdesign"

and

href="reports?ReportName=SampleSpring.rptdesign"

Anonymous said...

i am configure the birt in my spring framework but when i am open the report then tomcat give 404 Error please tell the solution