PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
Official Site http://www.php.net
See: PHPGenerator
The PHPGenerator has been deprecated however, since it didn't work properly, nobody was able to support it, and hardly anybody used it.
JSR223 Scripting Pages in Java Web Applications
http://www.jcp.org/en/jsr/detail?id=223