M
M
Maxim2011-10-08 13:36:34
JavaScript
Maxim, 2011-10-08 13:36:34

JavaScript library in J2EE

Good day to all, is there any way to use JavaScript libraries in my web application directly from java.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavlo Ponomarenko, 2011-10-08
@TheShock

Perhaps you need Rhino ?

Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.

P
Posigrade, 2011-10-08
@Posigrade

javax.script.ScriptEngine
Flanagan has a good chapter on java in JavaScript: The Definitive Guide.

E
ertaquo, 2011-10-08
@ertaquo

Unlikely. In the case of web applications, Java is used on the server side, while Javascript is used on the client side. However, you can write bindings to Javascript engines (like Google V8), or use the same Node.JS (via files or pipes).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question