Worklight Adapters - Java vs JavaScript
问题 Is there any drawback to having the JavaScript Worklight adapters calling Java code? Is there a performance hit, or any caveats? The reason I ask, is that 1) I'm much more familiar with Java than JavaScript, and 2) Java is so much more powerful than JavaScript. I'm tempted to just have the adapter always call a Java class to do all the work, but I'm just concerned there might be some reasons I shouldn't. 回答1: Using Java inside of your adapters is meant as "an extension of the adapter function