Archive for the ‘java’ Category
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 ...
Posted in java, linux, tech | No Comments »
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 ...
Posted in Uncategorized, java | No Comments »
Friday, February 13th, 2009
XStream == FAIL (still good for xml)
http://xstream.codehaus.org/json-tutorial.html
Does not handle unamed paths/nodes(per mailing list).
FLEXJSON == Good
http://flexjson.sourceforge.net/
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);
Posted in java | 1 Comment »
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 ...
Posted in java | No Comments »
Saturday, September 27th, 2008
Need to keep this site handy.
Posted in java | No Comments »
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 ...
Posted in java | No Comments »
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 ...
Posted in java | No Comments »
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 ...
Posted in java | No Comments »
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 ...
Posted in java | No Comments »
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 ...
Posted in java | No Comments »