Live data from Hacker News

Why isn't Java used for modern web application development?

programmers.stackexchange.com

1–10 of 188 posts

Re: Why isn't Java used for modern web application development?

#3
post #2

I think because of it's age, the pitfalls and limitations of the language may be more well understood, so it may suffer from a sort of 'grass is greener' effect.

Its age relative to what? Python is older by any measure, and the first public release of Ruby was only 7 months after Java's. Java certainly had a higher profile than either at the time, but they're all from essentially the same period.

http://en.wikipedia.org/wiki/Java_%28software_platform%29#Hi...

http://en.wikipedia.org/wiki/Ruby_%28programming_language%29...

http://en.wikipedia.org/wiki/History_of_Python

Re: Why isn't Java used for modern web application development?

#6
When starting web development, I found it easier to learn Ruby and the Rails Framework from scratch than to use Java which I had several formal classes in. I think that says something about Java's documentation/community support.

Ruby/Rails has railstutorial.org, tryruby.org, rails for zombies/code school, and railscasts. All these high quality beginner resources made using Ruby instead of Java an easy choice.

The other reason for me is that I find the code I write in Java to be too wordy and found the more concise syntax of Ruby refreshing and fun.

Re: Why isn't Java used for modern web application development?

#7
It IS used extensively for modern web application development just not by a lot of startups. In the enterprise space you really only see Java and .Net used for the core pieces.

One reason that Java is becoming less popular is that you don't need to use Java (the language) to be a part of Java (the ecosystem). You can use Groovy, Scala, Python, Ruby etc which are often less verbose and have more exotic features. So developers can try new languages out but don't need to abandon their existing libraries. Best of both worlds.

This is the approach that companies like Twitter and Etsy have taken.

Re: Why isn't Java used for modern web application development?

#9
I work in an industry where C++ still rules. I haven't ever written more than a few lines of Java. However, here's a job posting from our web team: http://us.blizzard.com/en-us/company/careers/posting.html?id...

Java is the only language mentioned by name. Last time I talked to them about a thing I was working on and mentioned I would soon have (now actually do have) a Python implementation, the response was basically "That's neat, but can you do it in Java too?"

So, in my little world at least, web development is the only place where Java actually does get used.

Re: Why isn't Java used for modern web application development?

#10
Google (at least Gmail), LinkedIn, etc are to me modern web applications & AFAIK they are written in Java (or at least partly in Java) and I'm not counting countless enterprise web apps.

Java is what they call mature technology. It's past the hype and language flame war phase. Those who know its value, just use it to GTD without any ceremonies.

Post reply on HN