Why I use Spring MVC to create RESTful Web Services

I’m a pretty standard Java guy, so basically I have two options: JAX-RS and Spring MVC.

Header mapping

http://docs.spring.io/spring/docs/3.1.x/javadoc-api/org/springframework/web/bind/annotation/RequestMapping.html#headers()

___________________________________________

Injection even for a simple use case Injection, JAX-RS doesn’t work out of the box in Jersey 2.0 (the reference implementation).

Well, it is doable using a Binder.

http://stackoverflow.com/questions/16216759/dependency-injection-with-jersey-2-0

https://hk2.java.net/hk2-api/apidocs/org/glassfish/hk2/utilities/binding/AbstractBinder.html

___________________________________________

Async support

http://docs.spring.io/spring/docs/3.2.0.BUILD-SNAPSHOT/api/org/springframework/web/context/request/async/DeferredResult.html

http://notpurelytechnical.com/spring-3-2-rundown-async-support/

JAX-RS 2.0 (part of Java EE 7), is supposed to support it but my tests result on all sort of errors………is no final yet

___________________________________________

Dionea

This post had been on drafts for a long time but finally got a chance to publish it =)

During 2011, through an agreement between Mexico and Japan1, I had the opportunity to work on Dionea with the insightful guidance of Dr. Norio Sato.
During that time I learned a lot, tried new things, made good friends…. all this while enjoying the beautiful city of Kanazawa.

Thanks everyone!
Here is some material of my work on Dionea:

Dionea Presentation Sep 2011 (Intermediate presentation)

Automatic Recognition and Tracing of Forked Processes by Low-intrusive Type Debugger for Ruby and Python (Report)

Me presenting Dionea

Me presenting Dionea

1.Programa para la Formación de Recursos Humanos en la Asociación Estratégica Global México Japón.

____________________________________

Update: after continuing this work for years, I presented the results in San Francisco at PMAM ’15. Here is the DOI, and here is the PDF of Debugging parallel programs using fork handlers.

About sales costs in the software industry

I just took a look at “Estudio de salarios SG 2012“, which reviews the IT salaries in Mexico. In 2012, section “Tipo de actividad” shows that sales positions, i.e. “Preventa / Tech sales”  and “Venta y desarrollo de negocios” have higher salaries than [real] technical positions*.

In a post titled “Why everybody should do Sales!” Felix Wehmeyer from Oracle quotes  Zig Ziglar  Nothing happens until someone sells something. It is true but, if nobody does anything [else than sales], well, there is nothing to sell.

On the other hand, the  database guru Michael Stonebraker, notes that software products are expensive because their associated  sales costs. In his interesting talk “NewSQL vs. NoSQL for New OLTP” at LISA XXV he even says I hate the sales model. I’m with Michael.

So the questions are:

  1. Is necessary to assign budget to [spend money in]  sales?
  2. What would happen if instead of  investing in sales, that money would be invested in making better products, e.g. more extensive testing, level up the level of the programmers, R&D, contribute to the advancement of the field?
  3. If the sales guys are needed, is fair that they get as much or even more than the tech guys?
  4. If so much money is spent in sales [and marketing], is the software industry money (business) oriented rather technology driven ?
  5. ??

_____________________________

*Preventa / Tech sales: 47,341.18 MXN/month
Venta y desarrollo de negocios: 37,140.32 MXN/month
Arquitectura de soluciones 28,183.30 MXN/month