I came across this, and was also puzzled by this, and here is my theory.
Enterprise software is full of Java programmers. As programmers of all stripes, many Java programmers are convinced that their language is the fastest, most flexible and easiest to use - they are not too familiar with other languages, but they are convinced that those who practice them should be savages and barbarians, because any enlightened person, of course, will use Java.
These people created extensive, complex Java infrastructures: rube-goldberg framework machines and automatically generated code filled with Byzantine inheritance structures and very, very large XML files.
So, when someone comes and says: “Hey, let me use the language interpreted by C! It is fast and has neat libraries and much faster for creating scripts and prototypes!” The java guy is first, like "Do I have to run a makefile to configure this? QUEL HORREUR!" Then the reality of the need to deploy and host on servers running the OS and dated versions of Tomcat, and does not begin to install anything else.
"Hey, I know! There is a Java version of this interpreted language! It can break on the speed lane on the bridge at rush hour, and sometimes it lights up, but I can get Tomcat to run it. I don’t need to get my hands dirty by learning stuff other than java and I can train him in the existing infrastructure! Win! "
So, is this the “right” reason for choosing a java scripting language implementation? Probably no. Depends on your definition of "right." But I suspect that this is the reason they are chosen more often than snobs like me who would like to believe.
Rokujolady
source share