public class AppEngineContextFactory {
private static final Logger LOG = Logger.getLogger(AppEngineContextFactory.class.getName() );
public static ScriptEngine createScriptEngine(ServletContext servletContext) {
RenjinScriptEngineFactory factory = new RenjinScriptEngineFactory();
return factory.getScriptEngine(createSession(servletContext));
}