Jump to content

Deploying chart customizer


davka

Recommended Posts

Hi

I have designed a report that required a chart customizer for its look. Now I want to deploy it to JasperServer. Expected to be able to read about it in the ultimate guide but they contained nothing on the subject.

So could anyone here help a newbie with this. At the moment I have a .class file at my local drive, what are the next steps?

Thanks in advance, I realy appreciate any support on this.

David

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

There are two ways to deploy it.

If you don't expect it to change much, and you would possibly use it in several reports, it's easier to deploy the class as part of the web application.  To do so, you'd either place the class file under WEB-INF/classes, or package it in a jar and place the jar under WEB-INF/lib.  Note that if the Java class is not defined in the default/root package, you'll have to create a folder structure corresponding to the package under WEB-INF/classes or inside the jar file.

The second approach is to package the class in a jar file and upload it as a resource to the report unit.  This doesn't require restarting the server.

Regards,

Lucian

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...