Archive for the ‘java’ Category

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 ...

Use jquery remote validation with struts2

Tuesday, April 15th, 2008

I feel that jquery's validation plugin gives a much better UI treatment than the struts client side validation.  In addition, there are case where one does not want to pay any Dojo penality. To make a remote (server side) validation call, the server must return a true/false JSON response.  There is ...

Looks like Jetty is gaining in popularity for production deployment

Monday, April 14th, 2008

Found the following post -&amp;gt; Jetty improves in Netscraft survey again.Got to remember to share this, due to it being a recent converation at work

XWork 2.1.1 is out

Thursday, April 3rd, 2008

XWork 2.1.1 is out and should be in the maven repos shortly. This release has my patch for inherited packages Complete change log here. Hopefully this means a Struts 2.1.1 release is coming shortly.