[id='server-scripts_{context}']
= {brandname} Server scripts

{brandname} Server scripting is based on the `javax.script` API and is
compatible with any JVM-based ScriptEngine implementation.

.Hello world

The following is a simple example that runs on a single {brandname} server, has
one parameter, and uses JavaScript:

[source,javascript]
----
// mode=local,language=javascript,parameters=[greetee]
"Hello " + greetee
----

When you run the preceding script, you pass a value for the `greetee` parameter
and {brandname} returns `"Hello ${value}"`.
