Where should I apply the licence?

I have an evaluation license and from the documentation it is not clear if I should run ALWAYS


License license = new License();
license.setLicense(“Aspose.Cells.lic”);

before using Cells or once in the code is enough ? (say for example when the server statrs)

Hi,

Thanks for your posting and using Aspose.Cells for Java.

You must set License before using any other Aspose.Cells for Java API(s) in a page load event.

You don’t need to set it everytime, only set it once when the server starts and it will suffice.

For more information on Licensing, please refer to this document.