title: Difference between RenjinScriptEngineFactory and AppEngineContextFactory
body: <p>I am playing around with the excellent <a href="http://www.renjin.org/" rel="nofollow">renjin</a> project and I was wondering what the difference is between:</p>
  
  <pre><code>RenjinScriptEngineFactory factory = new RenjinScriptEngineFactory();
  ScriptEngine engine = factory.getScriptEngine();
  </code></pre>
  
  <p>and </p>
  
  <pre><code>ScriptEngine engine = AppEngineContextFactory.createScriptEngine(context);
  </code></pre>
  
  <p>The first example comes from the <a href="https://github.com/bedatadriven/renjin-examples/blob/master/eclipse-dynamic-web-project/src/org/renjin/example/RenjinServlet.java" rel="nofollow">eclipse-dynamic-web-project</a> and the second example comes from the <a href="https://github.com/bedatadriven/renjin-examples/blob/master/appengine-servlet/src/main/java/org/renjin/example/appengine/RenjinServlet.java" rel="nofollow">appengine-servlet</a> example.</p>
  
  <p>Thanks for your help.</p>