cancel
Showing results for 
Search instead for 
Did you mean: 

I want to know about performance both javabacked webscript and webscript

kofwhgh
Champ in-the-making
Champ in-the-making
Hi my name is Cho Ho Young.

I want to know about performance both javabacked webscript and webscript.

If you know data and site.

Please Tell me.
3 REPLIES 3

ddraper
World-Class Innovator
World-Class Innovator
This is a very vague question. What exactly do you want to know? If you're asking whether or not the same functionality will run faster in a Java backed WebScript or a JavaScript controller webscript then I can't give a definitive answer. Whilst both approaches will go through quite a common code path (e.g. for matching the WebScript, initial set up, template rendering, etc the paths only diverge at the controller stage. I think it very much depends on what you're trying to do and the complexity of the controller, but for most cases I doubt there is much in it. The advantages of using a Java backed WebScript are more to do with having access to the entire Spring application context.

mrogers
Star Contributor
Star Contributor
Yes I doubt there is much in it.   Of course it depends upon what your web script is doing.   You have finer control in a Java backed web script.  

I suspect that the overheads of calling your web script and the operations that your web script does (for example calling a the database) will have far more impact than how the controller is implemented.

kofwhgh
Champ in-the-making
Champ in-the-making
Thank you very much.