Live data from Hacker News

Ask HN: Any web startups using Java?

news.ycombinator.com

81–90 of 164 posts

Re: Ask HN: Any web startups using Java?

#81
Java EE is an excellent development platform for any kind of web application. Its just a shame that everyone seems to assume its very difficult to implement.

I'm by no means a hugely experienced developer but after spending a short time working for an organisation that use Java EE extensively I now have learnt how to use and deploy pretty much the whole EE spectrum - Servlets, JSPs, Web Services, EJBs, JMS etc. That provides a huge arsenal for scalable web application development.

I think the reasons Java tends not to be used in the web app world and PHP / RoR not in the corporate world is down to the backgrounds of the developers. Web developers who come from a freelance web site building background are more familiar with PHP - its a very consumable technology for people that haven't got a lot of time to invest in learning technologies. Career software developers often are trained in Java development on the job once they graduate (from a degree which will likely have had a large Java component).

I personally don't know much about PHP, but I see the most likely platform to be future proof as Ruby on Rails. But for now I'm sticking with Java, it still has a fairly substantial future.

Re: Ask HN: Any web startups using Java?

#82
2 main reasons i can say about this are:

1. creating application in PHP is quite easy. no servlet , no configuration and just start writing the application. 2. PHP hosting are cheaper. But now a days Google apps are providing free hosting for Java apps.

BTW I am quite in favor of Java web apps. Java web apps are more stable and maintainable.

Re: Ask HN: Any web startups using Java?

#84

A lot of Austin start-ups do: http://indeed.com , http://homeaway.com , http://bazaarvoice.com .

Java/MySQL was right choice for Bazaarvoice 5 years ago, when we started. CouchDB will be my choice in today world.

care to share why?

Re: Ask HN: Any web startups using Java?

#85
My startup http://www.onmydoorstep.com.au/ is Java/Wicket/Guice/Lucene based.

Java's greatest strength is it's speed, a dearth of open-source libraries for pretty much anything you'd need. It's very possible to write light-weight simple code, if you shift out of the enterprise mind-set.

Re: Ask HN: Any web startups using Java?

#86
post #17
post #14

I'm involved in multiple startups using Java - both the language and more broadly the JVM (Groovy, Scala). Despite all the bad news you might hear, as long as you stay clear of the bloated enterprise stuff it's a great platform and environment for a startup. Hosting used to be an impediment but these days VPS make it dead easy to run Java stuff.

//bloated enterprise stuff// by this you mean the frameworks like Spring, Struts or the buzzwords like JMS, EJBs?

JMS and EJBs aren't buzz words. They're specifications implemented by the Java EE reference implementation - allowing one to develop JMS and EJB components for their applications which are deployable in glassfish application server (and any other Java EE application server platform).

And it is easy to use Java EE components like these without the need for frameworks like Spring - if anything I think they just obscure what's really going on. Again I'd like to re-iterate I'm not a highly experienced developer but I've learnt how to use most of the Java EE technologies in my applications rather quickly.

Re: Ask HN: Any web startups using Java?

#87
post #68
post #59

Earlier quoted context omitted.

You're perpetuating a myth. Verbosity doesn't equal less productivity. I would be really surprised if anyone here said their bottleneck in programming was the speed they can type. Also, all languages have their needless verbosity - look at 'end' vs '}' (ruby vs java). Which is the more verbose?

Ruby can use both "{...}" and "do ... end", with a slight difference between the two (precedence): def some_method { ... } def some_method do ... end

I don't believe the second one works. Usually you'd define a method using:

  def some_method
    # do something
  end
Usually you'll only use do after a method that's already defined, in order to pass a block of code to it.

Re: Ask HN: Any web startups using Java?

#88
post #76

I'll give you my take on this as a Java programmer of 10+ years experience. The problem you will have with Java in a startup is that Java's frameworks are by and large built for "enterprises". I put that in quotes because in one sense it doesn't really mean anything. In another, it's more of an idea of what governments and large companies want. Even when using Spring (which, in my opinion, is a "must have" for pretty…

Just want to mention that long-running applications written in 1. (e.g., C) can be slower than languages in 2. (e.g., Java) because the VM can optimize hot operations.

Other than that, I agree with your post!

Re: Ask HN: Any web startups using Java?

#89
I did my lonely venture in java. I think the main problem of java for startups is that it's uncool. They're trying to rationalize, but they are wrong, you avoid wearing a tie to express that you're not a number, I don't know why you wouldn't avoid java as a statement that you're not an IBM consultant.

When I started my project, I tried ruby, but after 2 months of fighting, I just went back to java. But somehow I'm gifted, I never did java at bigco, I did it at another (desktop) startup before and have a critical eye on the java current trends. I don't use Spring and all the famous bigco frameworks, I use a simple setup (PicoStuff, jetty, Webworks).

But in think most "objective arguments agains java in a startup" are plain wrong. The real problem of java is that all people know about it is eclipse and spring and the EJB2.

edit: BTW, today I do PHP, and we're integrating with drupal, and what I see in drupal is far worse than the EJB spec. It's tangled and static so you can't test anything in isolation, and there is no spec. The core code is really difficult to read because everything is passing maps of string around.

Re: Ask HN: Any web startups using Java?

#90
post #61

I sold a Java-based program for about four years and have a previous background in Big Freaking Enterprise Java Web Development. You can certainly write web applications in Java. They're harder to deploy than PHP but easier to deploy than Rails, in my experience, depending heavily on how experienced you are at administering systems and how much Java enterprise coffee you want to drink. Java is a mature language. Libr…

They're harder to deploy than PHP but easier to deploy than Rails, in my experience, depending heavily on how experienced you are at administering systems and how much Java enterprise coffee you want to drink.

Have you tried Phusion Passenger (http://www.modrails.com/)? It is trivial to install and makes Rails deployment a snap.

Post reply on HN