Earlier quoted context omitted.
I'm curious as to why you would call Java easier to deploy than Rails. Having developed both Java EE applications and Rails applications, Rails to me was much more easier to deploy, without having to deal with installing Tomcat and going through the extensive server configurations.
Java for most startups won't be Java EE. My best experience with Java recently has been with Jetty as an application server. It's fast and it's lightweight. I usually run Jetty behind nginx and don't generally need to configure Jetty to do anything. The whole Tomcat and connectors for apache configuration from a few years ago is well and truly behind me.
Ask HN: Any web startups using Java?
131–140 of 164 posts
Re: Ask HN: Any web startups using Java?
#132Earlier quoted context omitted.
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 conv…
Re: Ask HN: Any web startups using Java?
#133I used Java until 2002, then used Ruby until 2009, then switched to Javascript (server side). 3 months ago I decided to switch back to Java and I really feel I lost a decade with experiments. It turns out, I am really a static-typing ...type after all. With utilities like Spring Roo, frameworks like Jersey (JAX-RS), IDEs like Eclipse and platforms like GAE, Java can be really productive.
Have you tried Scala?
Re: Ask HN: Any web startups using Java?
#134Re: Ask HN: Any web startups using Java?
#135I 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.
Re: Ask HN: Any web startups using Java?
#136Earlier quoted context omitted.
Java for most startups won't be Java EE. My best experience with Java recently has been with Jetty as an application server. It's fast and it's lightweight. I usually run Jetty behind nginx and don't generally need to configure Jetty to do anything. The whole Tomcat and connectors for apache configuration from a few years ago is well and truly behind me.
I think one major difference/hurdle of java web development and deployment is the fact that you HAVE to setup something like nginx in front of the app server or else you're working on port 8080 for everything. Or you have to know how to configure the app server for port 80 directly and mitigate the security concerns of doing so. By comparison, apache defaults to port 80, no tricks required.
Re: Ask HN: Any web startups using Java?
#137Earlier quoted context omitted.
++Jetty. It's also great for development as it handles hot swapping of code changes, so they can be tested immediately without a container restart.
what version of jetty are you using? Last I looked, hot swapping code was a huge PITA and not an out-of-box config.
Re: Ask HN: Any web startups using Java?
#138My 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.
I think you meant a wealth of open-source libraries. There certainly isn't a shortage.
Re: Ask HN: Any web startups using Java?
#139I've be very scared of a web startup that chose Java over Python or Ruby. Why subject yourself to Java? RoR and Django are both solid platforms (among others).
Given the choice to develop in the Java, Python or Ruby language, I'd choose Python and Ruby over Java. But given the choice to develop on the Java, Python or Ruby platform, I'd choose the Java platform over the 2 others any day because with the Java platform I can choose to develop in Java, Groovy, Scala etc. and have many useful OS libraries at my disposal. I'm just working on my web startup using Groovy and Grails…
The downside is that Jython throws more runtime exceptions. OTOH it has incentivized a ramp-up in unit testing (Maven, Selenium).