Developer/Designer Notes

Archive for the ‘html’ Category

DHTML Programming

Posted by Kiran Mova on June 29, 2007

I am currently reading Jeremy Keith’s Bulletproof Ajax and he says..

“There is a disturbing trend among “serious” programmers to treat markup as a low-level technology that should be abstracted away from the developer. I couldn’t disagree more.”

With the recent buzz about web 2.0 and rich internet client interfaces, it is time to re-align the view on programming with scripting languages and watch out for the wonders you can do with php, javascript, css, svg and html..

 

Posted in css, html, javascript, svg | Leave a Comment »

DWR Web Application is hanging

Posted by Kiran Mova on May 3, 2007

Not really. But that was the symptom. I am using DWR in my project for all my client server interactions. After a while, the DWR Post requests from the client are not serviced by my server.

The first thought was to check if there was any case of a dead lock, since I am using Java synchronized keyword to control access of shared data structures. With that out of the way, it seemed like I had hit a road block. Can DWR be hanging? (Tried googling it.. I have come to believe that if the problem is not reported by google, the chances are that no one ever faced that issue. The only bottleneck is to have the right keywords.)

Anyways, coming back to my issue my colleague noticed that, application was hanging only when it was executed from the Netbeans IDE. That seemed very very odd, but it meant the only way to find out was to use the Netbeans Debugger.. As it turns out, I should have first tried with the debugger before code walk-through. I gue

After a little fiddling around, we noticed that there were 25 http threads and a couple of them seemed to have stopped. They were stopped on the unsuspecting – “System.out” and “System.err”. (Or it is obvious…. )

So this time I googled for “netbeans system.out hangs”. To uncover the Netbeans bug – 4903180

Posted in html, java, javascript | Leave a Comment »