Bill Schneider, Software Architect

Bill Schneider writes about software and other stuff. Opinions are my own.

Wednesday, January 15, 2014

knockout/pager - possible solution for DOM teardown

›
Possible solution to DOM leakage issue with PagerJS as I observed previously ( Knockout is great, not sure about pager) : Add an afterHide...
Monday, January 06, 2014

Time intervals and other ranges should be half-open

›
It is a good practice to treat time intervals as half-open inequalities: start <= x < end. Note the asymmetry.  This is  how the Joda...
Saturday, December 14, 2013

MicroStrategy Web SDK - WTFs

›
MicroStrategy's Web SDK did something I totally didn't expect: calling WebReportInstance.getPrompts() actually runs the report  if t...
Wednesday, December 04, 2013

KnockoutJS is great, not so sure about PagerJS

›
I've been using KnockoutJS for a while and I like it.  Knockout solves a clear need for me, in that without it or something similar, I...
Sunday, November 24, 2013

Web stacks that support change - but what kind?

›
I've recently made a transition from using dependency-injection heavy Java frameworks (Spring, Java EE) to full-stack dynamic language f...
Friday, April 20, 2012

C# envy

›
I was converting a small Java class to C#, and found a lot to like about it as a language.  For even a simple class - just collection and st...
Sunday, March 25, 2012

IE7 z-index issue

›
The IE z-index bug is old news by now, but since I struggled so much to understand it as a relative newbie to CSS, I wanted to preserve an e...
1 comment:
Tuesday, March 06, 2012

Eclipse debugger WTFs

›
Bug renders Eclipse debugger useless if class has/uses generics:   https://bugs.eclipse.org/bugs/show_bug.cgi?id=344856 Also, Eclipse Gl...
Wednesday, January 11, 2012

Handling poison JMS messages in Glassfish - infinite loop WTF?

›
I found this post useful for understanding problems with handling "poison messages" in message-driven beans: http://weblogs.java...
Saturday, January 07, 2012

equals and hashCode on @Entity classes: just say no

›
I've come to the conclusion that you should avoid defining equals and hashCode on JPA @Entity objects unless you have a really good reas...
Tuesday, January 03, 2012

Code coverage - unintended benefit

›
Unit test coverage is not a panacea.  You can reach 100% unit test coverage without a single assertion about outputs or business logic, in w...

Primefaces AJAX callbacks: onstart vs. onclick

›
I just learned the hard way that onstart and onclick are not the same thing. In particular, a "return ..." has very different se...
Friday, December 30, 2011

Atlas Debugged: The Fountainhead, YAGNI and "clean code"

›
The last time I re-read  The Fountainhead, I felt like many of the ideas in the book could be useful for software developers.  It seemed lik...
Saturday, November 12, 2011

Primefaces global AJAX events

›
You can use jQuery global AJAX events with PrimeFaces to refactor behaviors that appear on multiple components.  A good example is if you ha...
Tuesday, November 08, 2011

Primefaces p:ajax and jQuery AJAX events

›
All of Primefaces' JSF components use the jQuery AJAX engine, which means you can catch global AJAX events with $(document).ajaxStart an...

IE9 and strict JSON checking

›
Got an error from IE9 complaining about "invalid character". Turned out this was because the JSON response string had control cha...
Wednesday, October 26, 2011

Serialization, class hierarchy and preserving sessions

›
If you have a class that implements Serializable, superclass fields do NOT get serialized unless the parent class also explicitly implements...
Saturday, October 22, 2011

Quick and dirty SSO with LTPA

›
If you have WebSphere application server in your environment, it is in fact possible to decode the "LtpaToken" cookie in code for ...
Wednesday, October 12, 2011

Bizarre Glassfish JSF/EL performance issue

›
I found a performance issue with JSF on Glassfish 3.1.1 (and prior) in an unexpected place: a seemingly innocuous line of code like <h:...
Tuesday, October 11, 2011

Infinite loop in Glassfish exception logging

›
When Glassfish catches a ServletException, it calls getRootCause recursively on each successive unwrapped, nested exception by reflection . ...
‹
›
Home
View web version
Powered by Blogger.