Archive for the ‘java’ Category

Cairo-Dock removed in favor of docky (from gnome-do)

Tuesday, January 5th, 2010

While I used Cairo-Dock for a while I found it bit quirky.  I it would sometimes be misaligned and never had the smoothness of the dock in my mac laptop.  Configuration had a lot of options but is somewhat clunky. Docky is off to a nice smart.  It seems smoother and ...

Mysql back up an running after 9.10 upgrade

Saturday, November 14th, 2009

Apparently mysql did not fully upgrade after moving from ubuntu 9.04 to 9.10. A quick search (also) revealed others were having the problem as well. I was able to fix the issue by selecting mysql-client-5.1 over mysql-client-5.0 (which it was stuck at after the install) for install.  In addition, I had to ...

Today’s verdict on JSON deserialization

Friday, February 13th, 2009

XStream == FAIL  (still good for xml) Does not handle unamed paths/nodes(per mailing list).  FLEXJSON == Good No problems with {"type":"chairmanslife","hbdFlag":"Y","htkLifeCredit":"0","lifeMethodCredit":"35,644","lifeThreshold":"165,000","nonAffiliatedFlag":"N","pmlFixedLifeCredit":"7,225","pmlVariableLifeCredit":"28,419"} JSONDeserializer<Detail> deserializer = new JSONDeserializer<Detail>(); detail = deserializer.use(null, Detail.class).deserialize(blobString);

Struts2 needs better Sitemesh Support

Tuesday, November 11th, 2008

If one looks at the sitemesh 2.3 example application, an application can have both Freemarker and JSP decorators. In addition, one has very flexible usage of sitemesh tag libs from with a decorator. For instance one can reference freemarker's taglib within freemarker via. <#assign page=JspTaglibs["/WEB-INF/sitemesh-page.tld"]> This allows one to include decorated external content from ...

Common maven Archetypes to keep a reference to

Saturday, September 27th, 2008

Need to keep this site handy.

Eclipse P2= Epic Fail

Monday, August 11th, 2008

On both my windows work machine and Linux Desktop at home the p2 update manager was not able to cut it.  Halfway though re-installing various I used to, I used to linked in via external folder(using the .link method), P2 got into an unresolvable dependency problem that pretty much locked ...

Dealing with unmapped fields in XStream

Wednesday, July 30th, 2008

There is a jira patch proposed here for handling XML.  However that patch still needs to mature(see limitations) and gain acceptances.  What might not be obvious(a.k.a poorly documented), is that stock XStream already has the capability to handling this for many use cases.   The test class com.thoughtworks.acceptance.CustomMapperTest Contains a method ...

Several years later and NetBeans still doesn’t do it for me

Tuesday, May 27th, 2008

I was hoping it would.  I would like to use it to play around with some ruby development. I still may.  However, for Java development it seems like its missing some fairly basic functionality that I have become use to in eclipse.  One of the basic things I was trying ...

What makes jQuery a Good choice?

Thursday, May 1st, 2008

Found this blog post on What Makes jQuery a Good Choice? Thought this provided a pretty good summary. There is a response here. I don't have a problem with prototype, though I have latched on to jQuery(probably aided by its better documentation).   My bad experiences root from Dojo, its bloat and ...

Struts2 needs a new AliasInterceptor

Wednesday, April 16th, 2008

The original aliasInteceptor works fine for gluing together actions with different parameter names that need to be clued together.  The limitation with the existing solution is that properties for both name an alias need to exist in the stack.  The world keeps evolving though.  Developers make frequent use of richer ...