Jasper report in vaadin


Im new to vaadin and im trying to build one small application… In that i need to generate jasper report… I tried in java application with netbeans before, its working. but in vaadin , dont know… Can anyone help me??
I need the step by step instruction for generate jasper report in vaadin…

many thanks in advance

This should not be anything Vaadin specific, as JasperReports is completely a backend framework. It will produce your report in some format, be it PDF, HTML or something else. When you got this file you can show it like any other document in Vaadin. This is usually done with an Embedded field. You provide the file to the Embedded with the Resource interface. If the data is in memory then StreamResource is the best choice. If you write it into a file in between then FileResource is the way to go.

Try this: