I have a report I designed in Jaspersoft Studio. It uses a "Database JDBC Connection" Data Adaptor, which I have configured and tested in Jaspersoft Studio. Now I want to deploy this report in such a way that I can use the Jasperreports java library to generate reports from my in-house app. But here I get stuck. The data adaptor definition is not part of the .jrxml file I created in jaspersoft studio, and while I can export the data adaptor (as an XML file), I can't seem to figure out how to make use of it in the library. Can anyone point me to the relevant documentation or explain how to use a Data Adaptor when generating a report using the Library? Thanks. EDIT: It has been stated that all I have to do is "specify jdbc Connection inf JasperFillManager.fillReport method", but that doesn't really help. The fillReport method takes two parameters: the compiled report, and a map of parameters. Perhaps this jdbc connection stuff is supposed to go into the parameters? That would make sense, but leaves the question: what exactly do I need to put into the parameters map? I would think I would need keys for things like the connection string, username, and password, but while I know the values, what are the keys? And what is the key/value pair I need to specify to use the jdbc connection in the first place? I appologize if I am being dense here, but I'm not finding anything in the documentation so far that even hints at this. EDIT 2: Ok, I think I figured out this part after reverse enginering several examples. What needed to happen was that first I had to create a connection object. This involved importing java.sql.Connection and java.sql.DriverManager. Then I call Class.forName() on the driver string (although I don't know what that actually does, since it is never used), and create a connection object by calling DriverManager.getConnection() with the connection string, username, and password as parameters. This connection object is then passed as a third parameter to the fillReport() method. So noticably more complex than "specify jdbc Connection inf JasperFillManager.fillReport method" :-)