Alex Milowski wrote:
The init() function is called. If the init function returns an
object, then methods on
that object are called instread of global functions.
obviously I like this more...
I've currently implemented this as a very terse Application class that
just compiles
the script
We just started integrating JRuby and are already using Rhino.
In our case, though, the script does not have full access to the request and
response; the scripting just provides access to middle tier applicaiton level
objects. We do put our script factories at the Application level for now and
I've been playing around with Java 6 scripting engines and restlet and I've
considered and come up with a few approaches. I'd be interested in opinions
on this.
There certainly is the JSP-like way of write a web page where the page's output
is bound to the request response. There are so many iss
3 matches
Mail list logo