Attila Szegedi wrote: > > On Aug 19, 2008, at 2:01 PM, Josh wrote: > >> Please accept my apologies. > > No need to apologize -- I was just genuinely interested if there's > anything giving away the impression of an abandoned project. > >> When I looked at the project a few months >> ago I had the impression that it wasn't currently in development - of >> course this doesn't mean that you are not maintaining it. > > Well, right -- I'm not developing it currently because there's currently > nothing to develop; it's fairly round as it is, and I won't add features > for features' sake. That said, I might give it a go with latest Rhino > and Spring and see whether everything still holds together -- someone > posted on the forums saying "it does not work with Spring 2.5", to which > I asked for further details, and never got a response. Still, Spring is > legendary for its backwards compatibility, so I don't expect there are > real issues. > >> I found the code very useful, especially for examples of pre loading >> scripts, creating host objects, supporting include() functions, and >> setting security. > > Yeah, that's all in there... So, you're saying you found it useful for > "examples of" various behavior. What is it that prevents you from using > it as-is?
I could have done (with hind sight this might have been more sensible), but at the time I wanted to run scripts directly from a servlet (subclassing Spring framework servlet), not a Controller. Also, we are not using continuations, so felt that a big chunk of Rhino-In-Spring's functionality didn't apply to us. We were integrating this into a big spring web application (150+ controller classes), and wanted a bare bones implementation that we could maintain ourselves. Having said that, the continuations support looks very good, and I'm hoping to find an opportunity to use it in the future. Thanks for open sourcing this project! > > Attila. > >> Regards, >> >> Josh >> >> Attila Szegedi wrote: >>> What makes you think I'm no longer maintaining Rhino-in-Spring? It's in >>> a mature state (defined as "it has all the features I need, and it's >>> being used actively in production systems by my employer"). I'm adding >>> features when I need them -- i.e. Terracotta load-balancing support just >>> few months ago. I'll also add features if someone asks for them and fix >>> bugs if someone points them out. Just start a discussion on the >>> project's SourceForge forum. >>> >>> Attila. >>> >>> On Aug 18, 2008, at 10:52 PM, Josh wrote: >>> >>>> >>>> I was looking for something similar myself. It would be really good if >>>> the Rhino distribution included a reference implementation of a >>>> servlet. >>>> After googling I found some really useful example code in a (no longer >>>> maintained) project belonging to Attila Szegedi, former maintainer of >>>> Rhino: >>>> >>>> http://rhinoinspring.sourceforge.net/javadoc/overview-summary.html >>>> >>>> >>>> Osman İZBAT wrote: >>>>> Hi. >>>>> >>>>> There are some full blown server side javascript frameworks like >>>>> Helma, >>>>> Phobos etc. >>>>> But i'd like to use rhino as plain servlet something like: >>>>> >>>>> function service(req, resp){ >>>>> .... >>>>> } >>>>> >>>>> >>>>> Regards. > > > > > _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
