What is the reason for enabling the engine in Java to run JavaScript?

So that JavaScript can work on the server side?

If justified, what is the advantage? and any good app for such use?

+3
source share
2 answers

There are many possible reasons. Here 's a blog post by Steve Yegge (from Google) explaining why he studied using Mozilla Rhino (which is later because javax.script ).

According to the Rhino website:

It is usually embedded in Java applications to provide end users.

, , . , , , , , , ( ).

, , , - .

+1

, . Java , . , , JVM, , , #.

0

Source: https://habr.com/ru/post/1748794/


All Articles