How to use the JasperServer Java Rest Client

I am trying to use JasperServer Rest Java Client (https://github.com/Jaspersoft/jrs-rest-java-client) to integrate jasper reports/ server in my Oracle ADF application, but the instructions are a bit vague. For example, (configuring using Loading configuration from file) I am not sure where the JasperserverRestClient instance should be configured and where an instance of RestClientConfiguration should be created, also where I should place it within my ADF application. I would appreciate some help.

Jasperiousity's picture
Joined: Nov 10 2015 - 6:32am
Last seen: 5 years 6 months ago

Can someone please help, I've been at it for a while.

Jasperiousity - 7 years 3 weeks ago

2 Answers:

You are not obliged to use a configuration file. 
But if you wish to , in your code you will need to use : 

https://github.com/Jaspersoft/jrs-rest-java-client#loading-configuration...

Or a manual way :

https://github.com/Jaspersoft/jrs-rest-java-client#creation-of-manual-co...

It is pretty well explain in the readme of the github project...

plambert_1's picture
1541
Joined: May 21 2013 - 10:18am
Last seen: 4 years 7 months ago

Probably better is you post your question to the GitHub project instead of here because the library is not part of JasperReports library.

hozawa's picture
176469
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
Feedback
randomness