I have a large XSLT string that I am using to transform XML into json. I am doing this within a dropwizard webservice, where concurrency is highly desired. When I store this XSLT string within a file, it leads to all the webservice threads accessing the file in a sequential order from the filesystem(thus delaying execution).
If I try to store that XSLT as a java string I get a constant string too long
exception. What is the best way I can store this XSLT so that my threads can access it in parallel?