AnsweredAssumed Answered

Java-backed Web Scripts Multithread

Question asked by isloat on May 24, 2011
Latest reply on May 24, 2011 by mrogers
Hello,
I have a Java-backed Web Script (like this example: http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#SimpleWebScript.java)

Are java webscripts already prepared for multithreading?
Or I have to put something in the <bean> configuration? Or I have to program the java class for multithreading?

In other words, is created a new object of the WebScript java class for each request or is a Singleton?

Thanks a lot!

Outcomes