News for hackers. Stuff that matters.
Re:Seth Levine: Sick of start-up BS by matwood on Monday March 05, 2012 @09:19PM (#3669376)
When I give a talk and my bio says J2EE I'm a bit sheepish, and all the twenty-somethings

You shouldn't feel sheepish at all. With how the client side JS frameworks are shaping up I think for many apps the optimal architecture is going to end up being JS in the browser calling web services in the backend written in Java/.Net ecosystems.

Re:Seth Levine: Sick of start-up BS by edwinnathaniel on Monday March 05, 2012 @10:44PM (#3669561)
I've been doing this for the last 4 years.

First product was using GWT to communicate with a special type of Servlet (GWTServlet) via XML-RPC. We definitely can substitute the back-end to use plain Servlet or JAX-RS or SpringMVC and tweak the front-end a little bit with no problem.

Second was an enterprise project utilizing IBM WebSphere Portal (JSR-286, or... if you're not familiar, take a peek at Liferay) in which we implemented 90% of it using AJAX to talk to a Portlet (like Servlet) that returns JSON.

One of the components was implemented using JAX-RS that can easily switch between XML or JSON or ATOM without having to write a single line of logic other than annotating the method to return any or all of the above format (JAX-RS uses content-negotiation).

You'll be surprised how easy it is to implement such set-up in Java. It is built with modularity in mind but you can always use SpringMVC if you'd like to have something more like Rails as well :).

Re:Seth Levine: Sick of start-up BS by kyrra on Tuesday March 06, 2012 @12:37AM (#3669788)
I've worked on 2 large GWT apps, neither backed by Java (one was backed by C++, the other was backed by Perl). Using it to create web applications is really nice, but it's a bit bulky when it comes to some UI work (though, UIBinder helps a lot when you just want to write HTML).

Java is an overall great language. While it does have it flaws, it helps protect you from lots of stupid programming mistakes and it has pretty good performance.

Re:Seth Levine: Sick of start-up BS by edwinnathaniel on Tuesday March 06, 2012 @09:50AM (#3671218)
GWT is definitely heavy, considering all its functionality from minifying js, js splitting to optimize page load, multiple js output for browser specific optimization and to reduce js size, generating sprites, merging css, images, etc.

The best part of GWT is the testability aspect via MVP pattern if you compare it against weiting in pure JS which is usually hard to write headless test automation.