Subject: Re: [xsl] calling Java non static methods from XSLT From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 4 Jun 2016 21:31:49 -0000 |
I am not completely sure, but I believe the Java object can be created only once and then passed as parameter to each of the trillion transformations. As long as the code of the method is reentrant (doesn't create and depend on state), everything should be OK, even if the transformations are invoked even from different threads. On a multicore machine, such transformations could be invoked on each of several cores, and in this case the number of created objects can be just the number of the participating cores. -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- Sanity is madness put to good use. ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] calling Java non static m, Michael Müller-Hille | Thread | Re: [xsl] calling Java non static m, Mailing Lists Mail d |
Re: [xsl] calling Java non static m, Michael Müller-Hille | Date | Re: [xsl] calling Java non static m, Mailing Lists Mail d |
Month |