News for hackers. Stuff that matters.
Re:BackboneJS ToDo list example with Spring 3.1 (no xml conf... by ludwigvan on Wednesday December 14, 2011 @07:53AM (#3351607)
For a Java developer, this is interesting since one might not be aware of new js libraries like Backbone.js. Java EE crowd seems to be too much embodied with only Java EE stuff that they should be aware of new stuff like backbone.js. Of course, for someone that frequents HN, backbone is familiar, but in the company I work (a Java EE shop), noone other than me has heard of backbone.js (not even other stuff like node.js)

For a non-Java developer, it might either break the myth that Java EE is too much based on XML, or reinforce it. Spring, JAX-RS, JSF etc. now allow no-XML configuration, and they are not as verbose as they used to; but still it might seem daunting for someone outside (I'm also someone from outside in this respect too, I have been doing Java EE only for the last 3 months, (I had Django/Python experience before) and it has been hard to get to learn all the Java EE technologies by myself (e.g. how many ways are there to do DI in Java EE? Spring, CDI, JSF, with or without XML etc.)

Re:BackboneJS ToDo list example with Spring 3.1 (no xml conf... by joverholt on Wednesday December 14, 2011 @09:15AM (#3351857)
So, how are you enjoying your foray into Java EE? I may be making a similar move and would be interested in your thoughts. Things like what version of Java EE are you using, what pain points have you found, do you feel hampered by the java environment, etc.

Thanks!

Re:BackboneJS ToDo list example with Spring 3.1 (no xml conf... by cfontes on Wednesday December 14, 2011 @10:50AM (#3352247)
IMHO - I love to work with java, I've used all kinds of JEE frameworks and my favorite setup is Spring 3 + Spring MVC for almost all sites... If I need to work on a form filled web site I would use Vaadin or JSF2 + primefaces + EJB 3.1 (EJB 3.1 which is way better then previous versions).

Java is great and you can be as productive as you want.

Another thing is that the JVM environment is getting richer every year, with more Frameworks and languages.

As I said before, Java is a work horse. My fun coding is now in Javascript and Scala, but to work, for me nothing beats Java and it's stack.

Re:BackboneJS ToDo list example with Spring 3.1 (no xml conf... by hello_moto on Wednesday December 14, 2011 @10:43AM (#3352210)
Tools to be productive in Java:

1. Maven + Eclipse/IntelliJ

2. JavaEE 6 and Spring 3.1 (note the specific version)

3. Spring Data (previously known as Hades)

4. JUnit or TestNg and Mockito.

5. Findbugs, Checkstyle, Sonar, and Hudson.

You can ignore JSF unless it is the mandate. Sticking with minimum JSP or transmiting JSON works fine regardless your stack of choice.

PS: JavaEE 6 supports dependency injection and a bit of AOP.