SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2003
    Location
    Netherlands
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Serverside Javascript

    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!

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only two forms of server-side javascript I'm familiar with are

    1) the JS used for ASP (not very common)
    2) Netscape's server-side javascript

    #2 has been abandoned for some time, AFAIK. I've never met anyone who uses it - or even what server support for it is like.

    Javascript is just that, script, or, scripting. I'd be surprised if you find what you're looking for.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Member
    Join Date
    Jul 2003
    Location
    Netherlands
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #4
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I heard about Server-Side JavaScript. It's called LiveWire. It was supported by Netscape Server (iPlanet), now thi serer is owned by Sun.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •