Advanced

Go Beyond JSP with Dynamically Typed Languages

Posted by IdaAshley on · 2 comments
ibm.com/developerWorks
Mail this story
Print this story

Signs of rust are starting to show with JavaServer Pages (JSP) amongst the Java Community. Longstanding conventions inhibit Java programmers from using Java code within Web pages now, and even frameworks that take Java Web development beyond JSP fall short of dynamic language capabilities. This article shows you Ruby's Web page development strategy and touches on Seaside's radical approach.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: IBM

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (2)

While supported by a huge vendor community, copious documentation, and an incredibly rich set of libraries, Java is groaning under it's own weight. java is great at enterprise transactions, but it's getting very hard to do anything quick and easy with java, as there is a lot of infrastructure to build, and the language itself forces the programmer to write extra code to jump through hoops.

For instance I was playing with a program to tally the count of login shells by type for all users in /etc/password. It takes 10 lines of lisp, and 12 lines of perl. I did it in java just out of curiosity and it took 34 lines. A lot of that is packing primitive values for storage in a collection, and unpacking them upon retrieval from a collection. and so it goes...

While java is a great language, you as a programmer don't realize just how much extra work you're doing, until you try something like ruby, which has a wonderful syntax, concise yet expressive, and is just plain fun to program in.

Ruby on rails may is getting a lot of buzz in the web development community, and might just help ruby to be the next big thing...
I found this presentation to be quite interesting. It compares Java Servlets, JSP, Python/TurboGears, Ruby on Rails, Python/Zope with Plone, and Django.

It's a 378MB download, so I'll give you the big news up front. Java really comes out bad compared to everything else. And I mean *REALLY* bad.

The presentation is at least several months old. TurboGears and Rails have advanced quite a bit since it was made. Not sure about the others. Java, so far as I know, hasn't.

http://oodt.jpl.nasa.gov/better-web-app.mov

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post