Where to locate jasper compiled files (.jasper)-Collection of common programming errors
What is the better way to locate the jasper compiled files? into the web application or in an external directory?
Personally I think that is better to locate that files in an external directory because I can compile them and update them in the server without restarting it, besides the generated ear file is lighter.
Does anyone have suggestions?
-
I always use the following template:
Inside jar: the ones noone can change without a new release.
Outside jar: those ones that must be configurable for each client.
-
Its good to put .jasper file outside , but if your system crash or you change your server on some other machine and forget to copy those jasper file , It will give you a big loss.