Page 1 of 1

JBOSS & Spring context to optimize performance

PostPosted: Wed Nov 17, 2010 7:59 am
by myjupiler
Hello,

congratulations for the great job, I can do things that I cannot with POI or OpenOffice API !!

I understood that once you load a first file, the next files will be loaded faster.
How can I use this mechanism to create a Jboss context that will allow fast one shot DOCX creation ?

Thanks for ur help !

Patrick

Re: JBOSS & Spring context to optimize performance

PostPosted: Wed Nov 17, 2010 11:57 pm
by jason
Sorry, I don't know the answer to that question.

Perhaps someone else can help. Or you could try posting on stackoverflow.

Once you find out, please share here. Thanks. .. Jason

Re: JBOSS & Spring context to optimize performance

PostPosted: Thu Nov 18, 2010 4:10 am
by myjupiler
Well, after some testing, it seems that the context remains loaded after the first call until I restart Jboss.
So the next document processing are very fast !!

So the answer is : nothing to do, works out of the box.
I'd just need to find a way to load it once first. Maybe in the calling class constructor