WebSphere sMash was a development and runtime environment from IBM for the creation of dynamic web applications using the scripting languages Apache Groovy and PHP.
This architecture allows application to be built up from a mixture of code written using PHP, Java, Groovy or the Flow language.
The Global context functions basically as a large map of data divided up into various zones with different lifetimes, properties and persistence.
As of October 2008 WebSphere sMash is capable of running several well-known PHP applications on a Java Virtual Machine.
This allows PHP scripts to use libraries written in Java and Groovy through a lightweight and extremely fast interop layer[citation needed].