The programmer's notes
Here I am sharing my ideas about design, programming techniques and tricks.
Sunday, October 31, 2010
Useful abuse of API
›
Can abuse of API be useful? Sometimes it can be! Word "abuse" is defined as the improper usage or treatment for a bad purpose ...
Thursday, October 7, 2010
Twitter
›
I have just opened Twitter account: https://twitter.com/alexradzin
Tuesday, October 5, 2010
Hierarchical structures with Java Enums
›
Java enums are typically used to hold array like data. This tip shows how to use enum for hierarchical structures. Motivation Once upon ...
10 comments:
Send delayed JMS messages
›
Very often I had to implement feature that has to do something asynchronously in a minute, day, or at 5PM next Monday. Every time I implem...
Customized ValueOf
›
When I am writing enum I very often found myself implementing static method similar to standard enum’s valueOf() but based on field other ...
1 comment:
Dynamic Enums
›
Introduction Enums introduced to Java 1.5 is a very useful and well known feature. There are a lot of tutorials that explain enums usage in...
Discover type of parametrized class
›
Introduction Generics is a beautiful feature of Java 1.5. But it has some limitations. One of them is that it is impossible to discover typ...
Speciality of mobile web applications
›
Introduction WML is died. Mobile devices support XHTML, so theoretically regular web applications work on mobile devices. Amazing. Unfortun...
Portable custmized <hr>
›
When graphic designer created new design of web application I was working on I started to play with CSS trying to create view as close as ...
Text direction
›
Most of scripts in the world use left-to-right direction (LTR). But some scripts are right-to-left (RTL), e.g. Hebrew and Arabic. OK, the ...
Sending HTML formatted email
›
Last week I had to fix email sent from java code. The email was formatted as HTML. It worked fine in left-to-right languages but did not l...
Avoid " "?
›
Last week I received bug report that says that there is some “garbage” in one of the screens of web application I am working on. This web ...
Migrating here
›
Due to the stability problems of my previous blog alexr.blog.com still exist that bothers me very much I decided to move here and I am goin...
Find unused localized messages
›
I am working for company where refactoring is foul term. Died code is never removed etc. Fortunately modern IDEs (e.g. Eclipse) have enough...
1 comment:
Monday, September 20, 2010
My previous posts to other blog
›
This is my first post here. I started my professional blog at alexr.blog.com but unfortunately I am not satisfied with stability and featur...
‹
Home
View web version