On Tuesday, October 16, 2012 2:25:59 AM UTC-5, Markus Backman wrote: > The technology choice is being debated at the moment and the different > choices are: > * REST style JSON/XML services + some JavaScript framework(s) on the > client. > * Portlet 2.0 (JSR 286) + JSF 2.0 (JSR 314) >
I'm working on a team doing the REST style. Our server-side services use Java + Jersey + JSON + REST. If we were starting over, the team would prefer Scala but Java is adequate. Our GUI is pure HTML/JS with various JavaScript frameworks. The whole team likes this approach. I had lots of experience with JSF 1.x and Facelets and it was horrible. I haven't used JSF 2.0 (although I have used Facelets quite a bit), but before I spend a large volume of time doing deep learning and evaluation, I want to see a high level justification that that effort may be worthwhile. JSF 2.0 doesn't seem to have that high level justification. I haven't heard of any success stories, I haven't heard any excitement or high level features or value, and it doesn't seem to be getting much community interest. If you want to argue against JSF 2.0, those are the reasons I would use. I've also used GWT. I would avoid that. First, it adds a large, slow build and tooling step. Secondly, there is a huge difference between your Java source and the generated JavaScript. Other JavaScript compiled languages such as CoffeeScript or Dart or possibly TypeScript offer much lighter and transparent translation. You can look at the generated JavaScript and immediately see how it maps to the original source. Lastly, notice that even Google only uses it on a few obscure web sites. None of Google's major web sites use it. They do use the Google Closure JavaScript libraries, which are pretty good. -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/-P_4dFfTbawJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
