Senior Developer’s Challenge

March 26, 2013

I was going through my email this morning…through all of the typical “trade rags” that I get:

  • bitpipe
  • serverside
  • java blogs daily

I really enjoyed the Javalobby article by Arpit Mandliya on the Observer Design Pattern. Check it out. It is really thorough and is, I think, a really under-appreciated pattern.

Anyhoot…it got me thinking about how much I miss being in code all day/every day as a part of my job (my job as a senior developer is to develop/coach junior developers how to be better developers, NOT coding… :-( ). And that got me thinking about a challenge I got from one of my mentors (like a hundred years ago!) to “learn a new language every year”. WOW! Now THAT was FUN!!

So, I decided to take up that challenge again this year and make it one of my “personal growth” goals for the year. :-) Now I just need a new language…or even an aspect of a language that I already know…to work on. Here is my mental list:

  • JavaFX
  • JSF
  • JavaScript (ok…I would have to RE-learn this)
  • Objective C
  • JavaEE

By the way…I don’t consider DSL’s (Domain Specific Languages) and uber scripting langues like Ruby, Grails, and PHP “languages”. Sorry…just my personal opinion.

So, anyone out there who might read my blog, what do you think? I’m sort of leaning toward JavaScript…but I’m open to suggestions.


Java Web Application Frameworks

November 28, 2011

I recently came across this blog post on the topic of the “Best 5 Java web application frameworks”:
http://gokhan.ozar.net/best-java-web-frameworks/

The list is the author’s top 5 favorite Java web application frameworks so I would, naturally, expect the list to be completely subjective. While I disagree with the order of the list (naturally, my list would be subjective as well :) ), I agree that 4 of the 5 listed are in the top 5.

The one framework that I found surprising that made the list is JBoss Seam. I haven’t really heard anything about that for a couple of years. The one thing I remember that I liked about Seam was the Conversation context that it introduced and that I thought would have been a compelling reason for Seam to take off, but, as far as I can tell, never did. Unfortunate.

The one framework that I found surprising that did not make the list was JavaEE. Especially with the new version that is, now, very lightweight and streamlined for enterprise and web application development. I found it a little curious that it did not make the list. Hmmm…

With that said, I now give my own list of my top 5 favorites in order of preference. I would like to preface this list by saying how difficult I found it to choose between #1 and #2 and the reason I put Spring MVC at #1 is because that is where I have more experience than with JavaEE6. However, I fully anticipate that to change as I write more systems in JavaEE6. I have started seeing a lot of bloat in the Spring space lately and I don’t necessarily like what I’m seeing.

1. Spring MVC
2. JavaEE 6
3. JSF 2
4. Wicket
5. Struts 2


Possible Conspiracy?

November 1, 2010

I’ve been thinking a lot lately about Apple, Oracle, and Google and all of the misery and nonsense that seems to be surrounding these mega-companies. Now, maybe I’ve just been watching too much “Conspiracy Theory with Jesse Ventura”, but it seems to me that some of these things that are going on right now seem to be a little coincidental.

For instance, we all know how much attention Google was getting with their Android phones prior to Oracle’s lawsuits. They even had plans to create a full-blown laptop OS from that platform. Well, let’s just say for the sake of paranoia that Oracle and Apple get together to discuss this Johnny-come-lately of a company. The conversation might have gone something like this:

Apple: I’m sure you wonder why I’ve invited you here today.
Oracle: The thought has crossed my mind, yes.
A: Well, the truth is, this upstart Google is starting to cause me grief in the mobile market and now it looks like they are going to start encroaching on my netbook market and, possibly, my laptop market. Frankly, I’m a little worried about it.
O: Two questions: 1. Why should I care? 2. What do you expect me to do about it?
A: Here’s my proposition: You sue Google for patent and copyright infringement for Java. Make up something that is juicy enough to get the world’s attention but is far fetched enough that nobody will believe it but the courts have to pay attention to it.
O: I like it so far!
A: Then, I will ban Java from all of my computing devices. I will simply deprecate it. The Java developers will certainly feel the pinch because they are in love with my laptops.
O: Okay…then what?
A: After you win your lawsuits and collect zillions of dollars from Google and leave them in a state of chaos, then, you and I announce to the world that we have come to an agreement for having Java on certain Apple devices. Google is left out in the cold. They can’t develop their Android platform because you will own it. With our new agreement, Apple will remove the ban on Java on these new Apple devices and allow the Android platform to continue under bot of our watchful eye. Both of us will be the heroes of the day and Google will sink slowly into oblivion!
O: That’s brilliant! Let’s do it!

Ok. Maybe not in quite those words. But what if…it really has to make you wonder if there is something going on between Oracle and Apple to deflate and destroy Google. I just think the timing is a bit ironic that it seems the perfect storm has arisen that will seem to sink Google. Lawsuits and allegations that Google copied code directly. Lawsuits going on among Android device companies. Apple supposedly leaving Java behind. It just smells bad all the way around, don’t you think?


The Only Valid Measurement of Code Quality

October 20, 2010

Too funny not to repost! :)

http://javabeans.asia/2010/10/19/the-only-valid-measurement-of-code-quality.html


Your Application Is *NOT* Lightweight If:

October 1, 2010

Thank you Adam Bien!!

http://www.adam-bien.com/roller/abien/entry/your_application_is_not_lightweight

1. You already know what ThreadLocal is (and used that extensively).
Me: I could NOT agree more!!! Amen! Put it to bed!

2. You see transaction management in the application code (an annotation, however is not perfect, but o.k.)
3. You have to deal with EntityManagerFactory and EntityTransaction in your code
4. Your XML-configuration doesn’t fit on a single page any more
Me: Or worse, you don’t know how to include XML files in other XML files!

5. Your solution cannot be handled without extensive tooling
6. You spend some time for convincing other developers, that your solution is actually lightweight :-)
Me: Interesting how that happens. Who are they trying to convince? :)

7. You are in the process of replacing existing frameworks with your “lightweight” POJOs and hope the result will be easier, lighter and better maintainable
Me: Exactly! Ugh. When I see this I want to kill myself.

8. You forgot the name and purpose of the layers
Me: If this happens then you get what you deserve! Too bad for the poor schmuck who has to come behind you!

9. The number of interfaces is equal or greater, than the number of classes, and you need naming conventions to deal with that
Me: This makes me really, really angry. And you went to engineering school for THAT?!

10. The deployment size of your application archive (WAR) is greater, than the installation size of your “lightweight” server (like tomcat)
Me: Yep. Probably cause by a third party library. Probably Axis2!

Thanks again, Adam. Once again, you are right on target!


Asynchronous Servlet

January 28, 2010

This could prove very useful when we really learn how to leverage it in applications. I’m sure that it will become much more relevant as html 5 becomes more widely adopted.

http://www.restfusion.com/blog/2010/01/why-asynchronous-servlets-matter-part-i/


Chrome 4 + Extensions!!

January 25, 2010

Woo hoo! It’s finally here! Not only is Chrome 4 faster and more reliable, but it has even more to be excited about: extensions! Also known as plugins! Now you can have your delicious bookmarks from one click! How about a cleaner, cooler gmail interface? Do you need google documents to look like they would on your desktop? There’s an extension for that! Google Wave, gmail, docs, tasks, calendar? All in one seamless plugin! Not only that, but there are html 5 hooks too! Check out the youtube html 5 plugin! No more flash!

I once vowed to relinquish my firefox and IE browsers when Chrome got plugins (extensions…whatever…). Well, that day is today!

Some of my online friends have bashed me a bit for not evaluating the beta. Well…I DID for a very short time and it gave me fits! But it looks like they have ironed out the bugs in version 4 and…I LIKE IT!! I suppose I will know more later but, at this time, I don’t see me ever going back!

Once again, Google turns out a stunning product! Good work Google!


Follow

Get every new post delivered to your Inbox.

Join 152 other followers