Does anyone know / has experience with a serverside Javascript solution for Apache? Maybe compiles to servlets and has access to the Java framework. Much like Jython? I know Javascript, I know Java and I'm willing to learn Jython, that is how much I dislike JSP. Too much work, still not a clean cut between presentation and logic tier.
I'm aware of Rhino, but this is a generic Javascript implementation in Java. The solution I'm looking for is probably Rhino based but serverside web specific!
Thanks for your response. I'm aware of the two solutions. I can imagine that you'd be suprised that I'm looking for a scripting solution. All classes are written in Java (Servlets, Beans, EJB, etc). But to glue them with Java is just too much. I have scripts that consists 50% of declarations of variables and classes. It's a productivity killer and hard too explain to scriptors, who usually do the glueing. The scriptors understand Javascript and Actionscript (Flash) perfectly.
Jython is a high-level language that writes the same functionality in half the lines of code. You can write servlets if you will and they run in any JVM. The trade-off is a bit of speed, but you can hardly tell, because it is used to glue native Java objects together. Since nobody knows Jython that well and we have plenty of Javascript expertise, I'm looking for a Javascript solution that mimicks Jython functionality. It's just looking for the right tool for the job.
Bookmarks