summaryrefslogtreecommitdiff
path: root/_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown
diff options
context:
space:
mode:
authorJosé Mota <josemota.net@gmail.com>2012-06-03 13:07:33 +0100
committerJosé Mota <josemota.net@gmail.com>2012-06-03 13:07:33 +0100
commit276e2edc33ba67ce762dc10a522c07b419cd1429 (patch)
treee5687404a96b04afee7d9efaf65bb0d171a0f9cb /_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown
parent88265d0ab7598d6388d6662817915ab9bfda7ed4 (diff)
Update some more posts.
Diffstat (limited to '_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown')
-rw-r--r--_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown38
1 files changed, 38 insertions, 0 deletions
diff --git a/_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown b/_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown
new file mode 100644
index 0000000..8d81487
--- /dev/null
+++ b/_posts/2012-02-10-sacrilege-a-rather-lousy-rant-on-java-for-the-web.markdown
@@ -0,0 +1,38 @@
+---
+layout: post
+title: ! 'Sacrilege: a rather lousy rant on Java for the web'
+tags: [ development, loadacrap ]
+type: post
+published: true
+---
+
+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
+](http://www.amazon.com/Apache-Struts-Web-Application-Development/dp/1847193390/ref=sr_1_1?ie=UTF8&amp;qid=1328904973&amp;sr=8-1)
+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:
+
+* I've installed Netbeans and an Apache Tomcat 7 server.
+* I've created a new Maven Web application.
+* I've copied a struts routing example, along with the respective action POJO.
+* Tried to reach the URL; no luck.
+* Looked up for a web.xml example, in order to correctly load Struts.
+* Project won't deploy. FML.
+
+**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.