[id='scripts']
= Server Scripts
{brandname} server scripting is based on the `javax.script` API and is
compatible with any JVM-based ScriptEngine implementation.

.Hello World Script Example

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}"`.
