I have a Java project that requires downloading large files (corpus for NLP) for each execution. Let us call it the load () method, and this is called only once, and the method process (line text) can be called several times when they belong to the Tagger class.
My problem is that whenever I need to configure some code other than the Tagger class and recompile / run the project where the project calls the method () method, I need to wait about 10 seconds or more to have these resources loaded . Can I support these resources or the Tagger class itself so that I can edit any code and recompile them without unloading the Tagger class or unloading resources?
My option is to use web services or some servlets, but are there any alternative solutions? Or are libraries for creating these services easier? Since the solution is required only at the development stage, but is not required after deployment, when users actually load resources once during program execution and exit when they close.
Thanks,
source share