2 minute read

I’m the kind of person who believes that staying in a comfort zone keeps you out of “Where the magic happens”.

I’ve worked with JBoss Seam Framework for a long time (2007-2012) and the way it solved the integration between the frontend (with JSF) and the backend (with EJB, JPA and Bean Validation) influenced me a lot on how I develop using Java EE 6/7 with CDI and JSF. Besides the influence, for many other reasons I always try to keep my source code as close as possible from the spec. And why am I telling you that? I just wanted you to understand why I’m starting to look to Javascript frameworks only in 2015.

During the last years I saw the “rise and fall” of many Javascript frameworks and I watched with a very skeptical look on the way that people were using it. I couldn’t believe that having a Javascript calling a REST endpoint could be more productive and less error prone than JSF (or any other Java web framework). I always said to myself that once that a JS framework gets “stable” in the market, I would learn it.

This year, a very popular web project (20.000 simultaneous access) that I worked (2008) was refactored from JSF to AngularJS and the backend in Java had the Service Layer exposed as REST endpoints using JAX-RS. As result of this refactoring, the server demand dropped from 100 instances to 20 instances because with AngularJS all the frontend processing happens on the browser keeping the servers responsible just to handle light REST invocations.

This scenario for Angular and also the Google Trends placed AngularJS in my radar of technologies to learn and get expertise. So I was suggested by George Gastaldi to take a look on a serie of videos called “Desvendando a linguagem Javascript” and “Tudo sobre AngularJS” by Rodrigo Branas. With those videos I could make my first dive in the JS world.

Using tools like bower, Yeoman and Grunt/Gulp made me see the beauty of NodeJS, NPM and Functional Programming.

It is much probable that you will see more posts related to these subjects from now on. So here I drop a mental note to myself:

Keep calm and Learn Javascript!

P.S. I still believe that Java will keep strong in the Enterprise!

Updated:

Leave a comment