Live data from Hacker News

Ask HN: Any web startups using Java?

news.ycombinator.com

21–30 of 164 posts

Re: Ask HN: Any web startups using Java?

#23
post #10

Java has a strong background in enterprise solutions. So, e.g., if you need to build some sort of high performance distributed system then it's not an entirely wrong choice to go with Java. Java is good at that stuff. A web application is often more than the choice web framework. When you choose Java as your fundamental technology you could build your business logic e.g. in Java/Scala and your web tier in Ruby on Rai…

That's the choice I made: http://bens.me.uk/2010/jruby-in-practice

It works very well. You get close to the performance of C code in a 'safe' language, but can write the non-performance-critical code in a less verbose language of your choice.

Re: Ask HN: Any web startups using Java?

#24
post #11

Earlier quoted context omitted.

but only the enterprise developers seems to be caring about Java platforms. Freelancers / hackers rarely use Java.

Depends on what you mean by freelancers. There's an impression that RoR is the language of choice for hackers because so many web-apps are built by it. Web consulting firms use Java all the time because it's a proven technology with tons of flexibility. In RoR, the moment you step outside of the conventional MVC model; you are pretty much hosed, you have to write from scratch a lot of stuff that folks in Java have al…

RoR isn't a language. It's an MVC framework that's good for websites (that is, web applications that have a lot of pages). It's overkill for APIs, transaction-heavy stuff, one-page apps, etc.

It's a baloney-ass straw man to set up Rails as weak when compared to Java. Rails is a limited web framework, and Java is a programming language.

Instead, you should compare Ruby or Python to Java for web development. If it's still your position that there aren't enough good open-source tools in Ruby or Python to do what you need, then I believe you're either looking very hard, or you're looking in the wrong places.

Re: Ask HN: Any web startups using Java?

#25
post #11

Earlier quoted context omitted.

but only the enterprise developers seems to be caring about Java platforms. Freelancers / hackers rarely use Java.

Depends on what you mean by freelancers. There's an impression that RoR is the language of choice for hackers because so many web-apps are built by it. Web consulting firms use Java all the time because it's a proven technology with tons of flexibility. In RoR, the moment you step outside of the conventional MVC model; you are pretty much hosed, you have to write from scratch a lot of stuff that folks in Java have al…

Java tools are often for-enterprise, and the best of them are often for-purchase.

Tweaking a Java library is huge PITA, because Java is soooo code-heavy. I estimate Java leads to ~10x as many lines of code when compared to Ruby or Python for basic libraries like API clients. The IDE-reliance inherent in that culture removes many of the immediate incentives of code minimalism, and as such, you often find insanely convoluted libraries that literally have more classes than pieces of functionality.

Java's great if you're not in a hurry, or if your organization is infected with enough bureaucracy that the added bureaucracy in the code won't even make a dent in your already-dismal efficiency, or if you need to "get fat" (i.e. "hire a bunch of college grads and burn them out") and you don't mind dropping your talent density to near-zero figures.

With all talent being equal, give me a Python or Ruby shop over a Java shop any day, and I'm certain they will be significantly more productive, day in and day out.

Re: Ask HN: Any web startups using Java?

#28
I believe that one of the reason is lack of good web-applications framework for quick development. There is nothing like django or rails, so if you need to have non-trivial application created in minimum time java is not the best platform. In case when your team consists of plenty different skill level developers java is much safer platform. Performance of the application and hosting is not a problem. Hosting of java application usually is much easier than everything else and performance of jvm very good comparing to other platforms.

Re: Ask HN: Any web startups using Java?

#29
We are a London Startup, mainly building products off the back of web crawling & data mining, using Java for all our development, whether web or server-side. As our web framework we use Tapestry5, which is a great framework, with fast development times & minimal coding (Howard Lewis Ship has really put a lot of thought into the development of the T5 framework). Server side our crawl infrastructure, and other application processes are all Java. We use hundreds of Java open source libraries, including HBase, Lucene & OpenJPA. Addressing your issues 1) Lack of hosting support - we hire VPS, cloud or dedicated server infra on which we can deploy whatever we want - I don't see how this could be an issue. Even a cheap $10/month VPS gives you root these days 2) Performance issues? I won't get into a performance discussion but unless you've got google levels of traffic it's not worth worrying too much whatever platform/language you choose, a bigger challenge early on is attracting customers ;-) I used to work in banking & Java was performant enough for our high frequency trading infrastructure, where performance really does matter. 3) We have been going 2.5 years now, a lot of what we do is server-side processing and data munching and the open source Java libraries we leveraged along the way really helped us get going, things like HBase, Lucence, Bdb, Natural Language Processing (OpenNLP), Neural Nets (Encog), Stats packages, HTML processing (Jericho, JTidy). I know there are API's and ports of these in other languages, but the Java open source community is enormous, just because it's been around for so long, so it's always easy to find someone who'se done it before.

EDIT (Summary): We knew Java well early on and so used it to prove a market, leveraging open source libraries along the way. Do I think Java the language was a particular competitive advantage to us? No. But do I think any of PHP, Ruby or Python would have been either? No. (Lisp - probably yes! but we don't know it well enough to use professionally). To be honest, our main concern early on is to release early and prove the market, with whatever tools we can use.

Re: Ask HN: Any web startups using Java?

#30
post #28

I believe that one of the reason is lack of good web-applications framework for quick development. There is nothing like django or rails, so if you need to have non-trivial application created in minimum time java is not the best platform. In case when your team consists of plenty different skill level developers java is much safer platform. Performance of the application and hosting is not a problem. Hosting of java…

Yes there is: grails.
Post reply on HN