What can it be used for on the web, though? What big companies use it primarily?
Ask HN: What's Java used for?
1–10 of 21 posts
Re: Ask HN: What's Java used for?
#2"What should it be used for?" is a different question and depends at least somewhat on your preferences.
I go to Java when I want a desktop application that should be portable, doesn't need to be lightning fast, doesn't depend on any low level operating system stuff and that I don't mind losing pointers and memory management for. In other words, most of the time I'm writing a non-web application, I go to Java.
I personally don't like using it for web stuff except where small applets are concerned. I've had issues with it (it including Java, JSP, etc) and generally find it to be too heavy and not practical for web development. But that's just my opinion.
Re: Ask HN: What's Java used for?
#3But anyway: one of the biggest companies in the U.S. uses Java to do some really cool stuff.
Re: Ask HN: What's Java used for?
#4Lucene and SOLR for search are behind lots of websites -- public and intranet.
Hadoop and related tools -- MapReduce, HDFS, HBase, etc. -- are big in large-data, big-calculation systems, even when front ends are implemented in other dynamic languages.
Looking over all the open source Java projects at the Apache foundation may give a sense of range of uses on the net. And with the growth in alternate JVM languages -- like Groovy, Clojure, and Scala -- a bit of Java, or some Java libraries, may be part of projects in those languages as well.
Re: Ask HN: What's Java used for?
#5Re: Ask HN: What's Java used for?
#6Blackberry and Android got mini Java sdk for developing movile apps.
Or if you want to develop over Cloud Computer systems you might want to give it a try to Hadoop, that is also written in Java.
So, yes, there are tons of real implementations in Java, even though is not a language I could say I love...
Re: Ask HN: What's Java used for?
#7Enterprise Java is referred to as Java 2 Enterprise Edition (J2EE). In this case, the web output a user sees in a browser is generated on an application server using a mix of Java code and templated HTML/CSS/Javascript/etc.
Re: Ask HN: What's Java used for?
#8Re: Ask HN: What's Java used for?
#9In corporate-land, enterprise web applications are generally .net or Java. Enterprise Java is referred to as Java 2 Enterprise Edition (J2EE). In this case, the web output a user sees in a browser is generated on an application server using a mix of Java code and templated HTML/CSS/Javascript/etc.
Re: Ask HN: What's Java used for?
#10In corporate-land, enterprise web applications are generally .net or Java. Enterprise Java is referred to as Java 2 Enterprise Edition (J2EE). In this case, the web output a user sees in a browser is generated on an application server using a mix of Java code and templated HTML/CSS/Javascript/etc.
Yes, but the interesting question is why? Many large corporations indeed use Java, and the often-touted reason is safety and/or speed. Is that still a valid answer in today's web dev world? What would you recommend that AT&T for example uses if they could start all over again today?
- there are plenty of reliable open source libraries (see Apache)
- it is easy to learn and to maintain
- the IDEs are good (IntelliJ IDEA !)
So, yes, this is still a valid answer, IMO.