José Mota — The blog

Sacrilege: a rather lousy rant on Java for the web

10 February 2012

  • development
  • loadacrap 

Let me start out saying I'm glad I never had to make web apps in Java. Boostrapping the crap out of a Maven + Struts archetype is insane. I honestly don't know what to feel for Java programmers.

It's been an hour and a half since I've started reading the Apache Struts 2 Web Application Development book and I'm going nuts. I've dealt with more XML in this hour and a half than most of the time in my degree.

Story told short:

At an hour and a half, reading and typing, I could have done so much more in Rails or Sinatra. Sorry.

I don't care what people think about me comparing Java to Ruby at such an early stage in trying to learn. But hey, it's 2012, software ought to be easier to accomplish. Why does it have to be so difficult to understand how a simple controller is executed? Why is the Java way so convoluted?

I'll update this post when I can create a Struts action properly, perhaps with an interceptor. If I can make it to apply some TDD along the way, I pat myself in the back. Until then, I stay with the attitude.

Creative Commons License

comments powered by Disqus